-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
sql: RETURNING *
fails to expand star
#4593
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
help wanted
Help is requested / needed by the one who filed the issue to fix it.
Milestone
Comments
Related to #4604: RETURNING on insert currently knows about already qualified column names, not stars nor other expressions. |
When implementing RETURNING I left this out to keep my life simpler. So this isn't a bug so much as a feature that needs to be added. (Just noting this for whoever works on it.) |
RETURNING *
fails to qualify even when table is qualifiedRETURNING *
fails to expand star
I'll take a look since I touched that code in a recent PR. |
RaduBerinde
added a commit
to RaduBerinde/cockroach
that referenced
this issue
Feb 25, 2016
This change adds support for RETURNING * in inserts and deletes. For updates we currently only expand the updated columns; this is related to an existing problem (we can't return other columns even explicitly; filed cockroachdb#4645). Fixes cockroachdb#4593.
RaduBerinde
added a commit
to RaduBerinde/cockroach
that referenced
this issue
Feb 25, 2016
This change adds support for `RETURNING *` in inserts and deletes. For updates we currently only expand the updated columns; this is related to an existing problem (we can't return other columns even explicitly, cockroachdb#4368). Fixes cockroachdb#4593.
RaduBerinde
added a commit
to RaduBerinde/cockroach
that referenced
this issue
Feb 25, 2016
This change adds support for `RETURNING *` in inserts and deletes. For updates we currently only expand the updated columns; this is related to an existing problem (we can't return other columns even explicitly, cockroachdb#4368). Fixes cockroachdb#4593.
RaduBerinde
added a commit
to RaduBerinde/cockroach
that referenced
this issue
Feb 25, 2016
This change adds support for `RETURNING *` in inserts and deletes. For updates we currently only expand the updated columns; this is related to an existing problem (we can't return other columns even explicitly, cockroachdb#4368). Fixes cockroachdb#4593.
While looking at #4036 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
help wanted
Help is requested / needed by the one who filed the issue to fix it.
Found while trying to work around #4550:
RETURNING *
should succeed as soon as the table name is properly qualified.The text was updated successfully, but these errors were encountered: