File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 3838import sqlalchemy
3939import sqlalchemy .sql .expression
4040import sqlalchemy .sql .functions
41- from sqlalchemy .sql .functions import rollup , cube , grouping_sets
4241import sqlalchemy .sql .sqltypes
4342import sqlalchemy .sql .type_api
4443from sqlalchemy .exc import NoSuchTableError , NoSuchColumnError
@@ -333,13 +332,7 @@ def visit_column(
333332
334333 return self .preparer .quote (tablename ) + "." + name
335334
336- def visit_label (self , * args , within_group_by = False , ** kwargs ):
337- # Use labels in GROUP BY clause.
338- #
339- # Flag set in the group_by_clause method. Works around missing
340- # equivalent to supports_simple_order_by_label for group by.
341- if within_group_by :
342- kwargs ["render_label_as_label" ] = args [0 ]
335+ def visit_label (self , * args , ** kwargs ):
343336 return super (BigQueryCompiler , self ).visit_label (* args , ** kwargs )
344337
345338 def group_by_clause (self , select , ** kwargs ):
You can’t perform that action at this time.
0 commit comments