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 "c2" [21.5] (bindings: {#[29.0], #[29.1], #[29.2], #[29.3], #[29.4], #[29.5]}) #3233

Closed fuzzerofducks closed 3 months ago

fuzzerofducks commented 3 months ago

Issue found by SQLSmith on git commit hash 950d7 using seed 794990770.

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types() limit 0;
UPDATE main.all_types SET usmallint = (SELECT NULL), timestamp_tz = EXISTS(SELECT main.all_types."varchar" AS c1, main.all_types.timestamp_array AS c4, main.all_types.double_array AS c5 FROM main.all_types AS ref_0 WHERE EXISTS(SELECT main.all_types."int" AS c0, main.all_types.uuid AS c1, ref_0."bigint" AS c2 FROM main.all_types AS ref_1 INNER JOIN main.all_types AS ref_2 INNER JOIN main.all_types AS ref_3 ON (NULL) ON (NULL) WHERE 0))

Error Message

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "c2" [21.5] (bindings: {#[29.0], #[29.1], #[29.2], #[29.3], #[29.4], #[29.5]})