Skip to content
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: add the ability to access a column from the results of an SRF #3070

Closed
jseldess opened this issue May 3, 2018 · 1 comment
Closed
Assignees
Milestone

Comments

@jseldess
Copy link
Contributor

jseldess commented May 3, 2018

PR: cockroachdb/cockroach#24832

From release notes:

Set Returning Functions (SRF) can now be accessed using (SRF).x, where x is the name of a column returned from the SRF or a *. For example, SELECT (information_schema._pg_expandarray(ARRAY['c', 'b', 'a'])).x and SELECT (information_schema._pg_expandarray(ARRAY['c', 'b', 'a'])).* are now both valid. Also, the naming of the resulting columns from SRFs now provide more information about the resulting tuple. [#24832][#24832] {% comment %}doc{% endcomment %}

@jseldess jseldess added this to the 2.1 milestone May 3, 2018
@rmloveland rmloveland self-assigned this May 8, 2018
@rmloveland
Copy link
Contributor

rmloveland commented May 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants