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 "c0" [3.3] (bindings: {#[1.0], #[1.1], #[1.2]}) #3164

Closed fuzzerofducks closed 1 month ago

fuzzerofducks commented 1 month ago

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

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types() limit 0;
SELECT NULL FROM (SELECT ref_1.varchar_array AS c4, ref_1."struct" AS c7 FROM main.all_types AS ref_0 INNER JOIN main.all_types AS ref_1 ON (EXISTS(SELECT ref_0."varchar" AS c0, NULL, ref_1."smallint" AS c2 WHERE 0)))

Error Message

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