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" [5.3] (bindings: {#[3.0], #[3.1]}) #3178

Closed fuzzerofducks closed 3 months ago

fuzzerofducks commented 3 months ago

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

To Reproduce

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

Error Message

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c1" [5.3] (bindings: {#[3.0], #[3.1]})