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" [10.0] (bindings: {#[9.0]}) #3150

Closed fuzzerofducks closed 3 months ago

fuzzerofducks commented 3 months ago

Issue found by SQLSmith on git commit hash aef7b using seed 1012722480.

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types();
SELECT NULL FROM (SELECT NULL) , main.all_types AS ref_1 INNER JOIN main.all_types ON (NULL) LEFT JOIN main.all_types AS ref_3 INNER JOIN main.all_types AS ref_4 ON (ref_3."varchar") INNER JOIN main.all_types AS ref_5 ON (EXISTS(SELECT ref_4."timestamp" AS c1 WHERE (0 AND ref_3."varchar"))) ON (NULL)

Error Message

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c1" [10.0] (bindings: {#[9.0]})