Issue found by SQLSmith on git commit hash 50bb6 using seed 123351453.
To Reproduce
create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types();
SELECT 96 AS c2 FROM (SELECT ref_1.timestamp_ms AS c2, ref_1."double" AS c4, ref_1."map" AS c10 FROM main.all_types AS ref_0 INNER JOIN main.all_types AS ref_1 ON (EXISTS(SELECT ref_0.fixed_varchar_array AS c0, NULL, ref_1.fixed_nested_varchar_array AS c2 WHERE 0)) INNER JOIN main.all_types AS ref_3 ON ((ref_3."varchar" !~~* ref_1."varchar")) WHERE ref_1.uint)
Error Message
ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c0" [3.3] (bindings: {#[1.0], #[1.1], #[1.2], #[1.3], #[1.4], #[1.5]})
Issue found by SQLSmith on git commit hash 50bb6 using seed 123351453.
To Reproduce
Error Message