Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: allow UNION with hidden and non-hidden columns
This commit removes an assertion that required corresponding columns on each side of a UNION to be both hidden or non-hidden. Prior to this change, the following statements would yield the error: "UNION types cannot be matched". CREATE TABLE ab (a INT, b INT); SELECT a, b, rowid FROM ab UNION VALUES (1, 2, 3); With this commit, the above statements are executed without error. Release note (bug fix): Fixed an incorrect error the ocurred when executing UNION statements with hidden and non-hidden columns.
- Loading branch information