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 "c1" [16.6] (bindings: {#[1.0], #[1.1], #[1.2]}) #3179

Closed fuzzerofducks closed 1 month ago

fuzzerofducks commented 1 month ago

Issue found by SQLSmith on git commit hash dd9e6 using seed 264400110.

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types();
SELECT NULL FROM main.all_types AS ref_0 INNER JOIN main.all_types AS ref_1 ON (ref_1.timestamp_ns) WHERE EXISTS(SELECT NULL, NULL, NULL, NULL FROM (SELECT ref_1.date AS c0, ref_0."smallint" AS c1 FROM main.all_types INNER JOIN main.all_types AS ref_3 ON (NULL) WHERE (NULL AND ref_1."varchar")))

Error Message

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