We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SELECT * FROM (SELECT 1 AS id, 2 AS value) ANY INNER JOIN (SELECT 1 AS id, 2 AS values) USING id;
1 2 2
1 2
The text was updated successfully, but these errors were encountered:
Yes, this is weird, but this behaviour is documented and works according to documentation:
All columns that are not needed for the JOIN are deleted from the subquery.
subquery here is right part of join. Currently you have to specify all required columns.
subquery
Sorry, something went wrong.
I am currently trying to fix this problem, but it is not compatible with the version.
It is same problem
Correct number of columns is returned from an element of UNION ALL in…
5bce1d7
…side a subquery if some column was queried more than once #2786
No branches or pull requests
Steps to reproduce the behavior
SELECT * FROM (SELECT 1 AS id, 2 AS value) ANY INNER JOIN (SELECT 1 AS id, 2 AS values) USING id;
Expected Result
1 2 2
Actual Result
1 2
The text was updated successfully, but these errors were encountered: