duckdb / duckdb-fuzzer

Repository that contains automatic reports of issues found through fuzzing DuckDB
0 stars 0 forks source link

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c2" [3.8] (bindings: {#[1.0], #[1.1], #[1.2]}) #3224

Closed fuzzerofducks closed 1 month ago

fuzzerofducks commented 1 month ago

Issue found by SQLSmith on git commit hash 50bb6 using seed 390388118.

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types();
SELECT NULL FROM (SELECT NULL FROM main.all_types AS ref_0 INNER JOIN main.all_types AS ref_1 ON (EXISTS(SELECT NULL, ref_1.timestamp_tz AS c1, ref_0.dec_4_1 AS c2, NULL, NULL, NULL, NULL WHERE 0)) INNER JOIN main.all_types AS ref_3 ON (ref_1."varchar") WHERE (ref_3."varchar" OR ref_1.bool)) LIMIT 122

Error Message

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c2" [3.8] (bindings: {#[1.0], #[1.1], #[1.2]})