Issue found by SQLSmith on git commit hash dd9e6 using seed 746695017.
To Reproduce
create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types();
SELECT NULL FROM (SELECT NULL WHERE EXISTS(SELECT ref_2.fixed_nested_int_array AS c2 FROM main.all_types AS ref_1 INNER JOIN main.all_types AS ref_2 ON (EXISTS(SELECT ref_1."float" AS c0, ref_2.timestamp_tz AS c1 WHERE 0))))
Error Message
ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c0" [10.2] (bindings: {#[8.0], #[8.1]})
Issue found by SQLSmith on git commit hash dd9e6 using seed 746695017.
To Reproduce
Error Message