-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(spanner/spansql): Add tests and parser support for THEN RETURN #6515
base: main
Are you sure you want to change the base?
Conversation
Note: Integration tests are not expected to pass until |
@@ -24,6 +24,7 @@ by ascending esotericism: | |||
- SELECT HAVING | |||
- more literal types | |||
- DEFAULT | |||
- THEN RETURN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are supporting it through this PR, right? I guess we want to say PG.Returning is not supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I did not intend to add this support myself. We will be adding support to the standard Spanner Emulator however.
c4e306b
to
71a8c62
Compare
This change adds THEN RETURN support for DML statements. The existing "Query" methods already support executing such statements, so this change is limited to updating documentation, adding integration tests, and updating the spansql package. Support has not been added to the spannertest in-memory implementation of Spanner, but the feature absence has been noted in the corresponding README.
@rahul2393 are there still plans to accecpt this PR? |
@rahul2393 see comment above ^ |
This change adds THEN RETURN support for DML statements. The existing "Query" methods already support executing such statements, so this change is limited to updating documentation, adding integration tests, and updating the spansql package. Support has not been added to the spannertest in-memory implementation of Spanner, but the feature absence has been noted in the corresponding README.