-
Notifications
You must be signed in to change notification settings - Fork 561
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
feat: UNION ALL should cast input columns to least restrictive types #7768
Labels
Milestone
Comments
algosday
added
type/bug
Something isn't working
component/frontend
Protocol, parsing, binder.
labels
Feb 8, 2023
PostgreSQL's rule is inconsistent between
We will need to handle each case differently. |
Oops, we have not supported
|
xiangjinwu
changed the title
QueryError: Invalid input syntax: UNION types INT32 of column id is different from types VARCHAR of column id
UNION ALL should cast input columns to least restrictive types
Feb 8, 2023
xiangjinwu
changed the title
UNION ALL should cast input columns to least restrictive types
feat: UNION ALL should cast input columns to least restrictive types
Apr 24, 2023
8 tasks
|
xiangjinwu
modified the milestones:
release-1.5,
future-release-1.6,
release-1.6,
future-release-1.7
Nov 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
A simple SQL query produces an error in RW but works fine in PostgreSQL. This SQL statement is generated by dbt as an example.
This bug is not blocking #7577 but will prevent our users from completing the dbt getting started guide.
To Reproduce
Execute the following SQL on RW.
Got an error,
Expected behavior
It should execute successfully and produce a result.
( PostgreSQL 14.6 )
Additional context
No response
The text was updated successfully, but these errors were encountered: