Skip to content

Throw proper error for AS OF NULL#12718

Merged
findepi merged 5 commits intotrinodb:masterfrom
findepi:findepi/as-of-validation
Jun 9, 2022
Merged

Throw proper error for AS OF NULL#12718
findepi merged 5 commits intotrinodb:masterfrom
findepi:findepi/as-of-validation

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Jun 7, 2022

Previously query would fail with "UNKNOWN is not a valid type", which
can be confusing, since user did not specify "UNKNOWN" anywhere in the
query.

This PR also adds some analyzer test coverage for time travel.

findepi added 3 commits June 7, 2022 12:16
Add tests `StatementAnalyzer` validation for the `FOR ... AS OF ...`
syntax.
Previously query would fail with "UNKNOWN is not a valid type", which
can be confusing, since user did not specify "UNKNOWN" anywhere in the
query.
@findepi findepi added the no-release-notes This pull request does not require release notes entry label Jun 7, 2022
@cla-bot cla-bot bot added the cla-signed label Jun 7, 2022
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Jun 9, 2022

I consulted this offline with @martint and @electrum as well

@findepi findepi merged commit cb78e32 into trinodb:master Jun 9, 2022
@findepi findepi deleted the findepi/as-of-validation branch June 9, 2022 10:01
@github-actions github-actions bot added this to the 386 milestone Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants