Skip to content
Snippets Groups Projects
Commit e2b17c6ac277 authored by Sylvain's avatar Sylvain
Browse files

filter out column alias

parent 2804e0024350
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@
errors.append('order column out of bound %s' % term.value)
else:
stmt = term.stmt
for tvref in term.iget_nodes(VariableRef):
for tvref in variable_refs(term):
for vref in tvref.variable.references():
if vref.relation() or vref in stmt.selection:
break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment