Issue found by SQLSmith on git commit hash dd9e6 using seed 184929818.
To Reproduce
create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types() limit 0;
SELECT ref_3."float" AS c0 FROM main.all_types AS ref_0 INNER JOIN (SELECT NULL, NULL, NULL, NULL, ref_1.fixed_nested_varchar_array AS c4, NULL, NULL FROM main.all_types AS ref_1) AS subq_0 ON (EXISTS(SELECT subq_0.c4 AS c0, NULL, NULL WHERE (ref_0."varchar" AND NULL))) INNER JOIN main.all_types AS ref_3 ON (ref_3.dec_18_6)
Issue found by SQLSmith on git commit hash dd9e6 using seed 184929818.
To Reproduce
Error Message