Skip to content

Conversation

MasterOdin
Copy link
Member

This PR fixes a bug where doing DECLARE start_time TIMESTAMP DEFAULT '2022'; would get parsed incorrectly for bigquery, due to specifying DECLARE as a block opener, though it's not. While bigquery allows DECLARE statements anywhere, and they live for the lifetime of the DB session, unlike oracle where the DECLARE is attached to the following BEGIN block.

Signed-off-by: Matthew Peveler <matt@popsql.com>
@MasterOdin MasterOdin merged commit 575de05 into main Aug 10, 2022
@MasterOdin MasterOdin deleted the fix_bigquery_declare branch August 10, 2022 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant