E&S CVS Commit: PEAK - Remove duplication by making Projection a kind of Table. Refactor

pje at eby-sarna.com pje at eby-sarna.com
Wed Oct 22 18:42:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Wed Oct 22 22:41:19 UTC 2003

Modified Files:
	PEAK/src/peak/query: algebra.py interfaces.py
	PEAK/src/peak/query/tests: test_algebra.py

Log Message:
Remove duplication by making Projection a kind of Table.  Refactor
attributes() method of relvars to provide a kjGraph that maps column names
to domain variables (actual columns).  This should let us have comparison
operators act directly on domain variables, and it doesn't matter what the
column name is called.  Also, if column objects know their table aliases,
this should also make it easier to generate SQL from a BasicJoin or Table.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/query/algebra.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/query/interfaces.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/query/tests/test_algebra.py.diff?r1=1.6&r2=1.7

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/query/algebra.py \
    PEAK/src/peak/query/interfaces.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/query/tests/test_algebra.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list