diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-09-06 12:45:53 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-09-06 13:17:24 -0400 |
| commit | fc48050e5d0c56fc5a6cd85679859e71961c59eb (patch) | |
| tree | 78ade9f3586e12239023b2aa95510c653a004dd4 /lib/sqlalchemy/sql/clause_compare.py | |
| parent | 5c39ef565bb63e4412c3c3d0e87330373c8926ce (diff) | |
| download | sqlalchemy-fc48050e5d0c56fc5a6cd85679859e71961c59eb.tar.gz | |
Adjustments to _copy_internals()
We are looking to build a generalization of copy_internals(),
so move out any special logic from these methods. Re-implement
and clarify rationale for the Alias doesnt copy a TableClause rule as
part of the adaption
traversal, establish that we forgot to build out comparison and cache
key for CTE, remove incomplete _copy_internals() from GenerativeSelect
(it doesn't handle the order_by_clause or group_by_clause, so is incomplete)
Change-Id: I95039f042503171aade4ba0fabc9b1598e3c49cf
Diffstat (limited to 'lib/sqlalchemy/sql/clause_compare.py')
| -rw-r--r-- | lib/sqlalchemy/sql/clause_compare.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/clause_compare.py b/lib/sqlalchemy/sql/clause_compare.py index 50b1df99e..30a90348c 100644 --- a/lib/sqlalchemy/sql/clause_compare.py +++ b/lib/sqlalchemy/sql/clause_compare.py @@ -208,6 +208,9 @@ class StructureComparatorStrategy(object): else isinstance(right.name, elements._anonymous_label) ) + def compare_cte(self, elements, left, right, **kw): + raise NotImplementedError("TODO") + def compare_extract(self, left, right, **kw): return left.field == right.field |
