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.3] (bindings: {#[7.0], #[7.1], #[7.2]}) #3204

Closed fuzzerofducks closed 1 month ago

fuzzerofducks commented 1 month ago

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

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types() limit 0;
SELECT ref_1."smallint" AS c0, arg_min(NULL, NULL) OVER (PARTITION BY NULL ORDER BY ref_1.fixed_nested_varchar_array) FROM (SELECT ref_0."smallint" AS c1 FROM main.all_types AS ref_0) AS subq_0 INNER JOIN main.all_types AS ref_1 ON (EXISTS(SELECT NULL, NULL, NULL FROM main.all_types AS ref_2 INNER JOIN main.all_types ON ((NULL AND subq_0.c1)) WHERE ref_1."varchar"))

Error Message

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c1" [10.3] (bindings: {#[7.0], #[7.1], #[7.2]})