Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix cast from unknown to unknown
Previously, an implicit cast performed in a set operation, like `UNION`, on a tuple type with an unknown inner type would cause an internal error. The cast failed because the volatility of a cast from unknown to unknown was not specified in the `validCasts` list. This commit fixes the issue by marking a such a cast as immutable. Fixes #68308 Release note (bug fix): A bug has been fixed that caused internal errors with set operations, like `UNION`, and columns with tuple types that contained constant `NULL` values. This bug was introduced in version 20.2.
- Loading branch information