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

tpcds_logical_q8 ambiguous name. #5334

Closed
Tracked by #4685
jackwener opened this issue Feb 19, 2023 · 0 comments · Fixed by #5335
Closed
Tracked by #4685

tpcds_logical_q8 ambiguous name. #5334

jackwener opened this issue Feb 19, 2023 · 0 comments · Fixed by #5335
Labels
bug Something isn't working

Comments

@jackwener
Copy link
Member

jackwener commented Feb 19, 2023

Describe the bug
ambiguous name problem due to q8

Error: Context("type_coercion", Internal("Optimizer rule 'type_coercion' failed due to unexpected error: Schema error: Ambiguous reference to unqualified field 'ca_zip'"))

In q8, there is a sql like following:

select project x as ca_zip
intersect
select ca_zip from a1

->

(project x as ca_zip) left semi join (a1) on "ca_zip = a1.ca_zip".

To Reproduce
After set pub skip_failed_rules: bool, default = false, we can find it.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant