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
CTE returns wrong column name #10074
Labels
Comments
This comment was marked as abuse.
This comment was marked as abuse.
Hi @l1t1, thanks for reporting this. Could you please provide a minimal reproducible example that demonstrates this issue? |
it is because of
|
the minimal reproducible example
|
Mytherin
added a commit
to Mytherin/duckdb
that referenced
this issue
Jan 8, 2024
…ot influenced by the aliases. Only the names of the CTE itself are influenced by the aliases.
Mytherin
added a commit
that referenced
this issue
Jan 9, 2024
Fix #10074 - for materialized CTEs the final result names are not influenced by the aliases. Only the names of the CTE itself are influenced by the aliases.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happens?
following sql should output id ,but output s, and the values are of column id
To Reproduce
OS:
windows7
DuckDB Version:
0.9.2
DuckDB Client:
CLI
Full Name:
lutao
Affiliation:
study
Have you tried this on the latest
main
branch?I have tested with a main build
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: