Skip to content

Commit

Permalink
fix dialect name
Browse files Browse the repository at this point in the history
  • Loading branch information
ohnorobo committed Jul 13, 2023
1 parent 812fea4 commit 4c74604
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pipeline/beam_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,10 +590,7 @@ def derive_dashboard_rows(self, rows: beam.PCollection[schema.HyperquackRow]) ->
pprint(dir(coder_rows))
pprint(coder_rows.element_type)

dash_rows = (coder_rows | 'derive dashboard rows' >> SqlTransform(
sql_query,
dialect='org.apache.beam.sdk.extensions.sql.zetasql.ZetaSQLQueryPlanner') )
#.with_output_types(BigqueryOutputRow))
dash_rows = (coder_rows | 'derive dashboard rows' >> SqlTransform(sql_query, dialect='zetasql'))

pprint("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
pprint(dash_rows)
Expand Down

0 comments on commit 4c74604

Please sign in to comment.