You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran in v0.3.1 88aa81c in transient mode on an M1 Mac
CREATE TABLE test (id INTEGER, l VARCHAR[]);
INSERT INTO test SELECT i, case when (i/1000)%2=0 then [1::VARCHAR, 1::VARCHAR, 1::VARCHAR] else [2::VARCHAR, 2::VARCHAR] end FROM range(2000) tbl(i);
SELECT * FROM test AS t1 LEFT JOIN test AS t2 ON t1.id=t2.id WHERE t1.l!=t2.l or t1.id!=t2.id;
result: [1] 90267 bus error ./duckdb
expected result: empty result set
Running in debug build I get the message: /src/common/row_operations/row_gather.cpp:54:19: runtime error: index 1024 out of bounds for type 'data_t *[1024]'
The problem seems to be that the GatherNestedVector function does not expect vectors with more than STANDARD_VECTOR_COUNT values, which happens in this query because of the filter on the list column
The text was updated successfully, but these errors were encountered:
v0.3.2-dev556 3c1a9e3
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
D CREATE TABLE test (id INTEGER, l VARCHAR[]);
D INSERT INTO test SELECT i, case when (i/1000)%2=0 then [1::VARCHAR, 1::VARCHAR, 1::VARCHAR] else [2::VARCHAR, 2::VARCHAR] end FROM range(2000) tbl(i);
D SELECT * FROM test AS t1 LEFT JOIN test AS t2 ON t1.id=t2.id WHERE t1.l!=t2.l or t1.id!=t2.id;
#####/git/duckdb/src/common/row_operations/row_gather.cpp:54:19: runtime error: index 1024 out of bounds for type 'data_t *[1024]'
For release version, the query never stop. Got coredump once use strace to attach.
Mytherin
added a commit
to Mytherin/duckdb
that referenced
this issue
Dec 15, 2021
Ran in v0.3.1 88aa81c in transient mode on an M1 Mac
result:
[1] 90267 bus error ./duckdb
expected result: empty result set
Running in debug build I get the message:
/src/common/row_operations/row_gather.cpp:54:19: runtime error: index 1024 out of bounds for type 'data_t *[1024]'
The problem seems to be that the GatherNestedVector function does not expect vectors with more than STANDARD_VECTOR_COUNT values, which happens in this query because of the filter on the list column
The text was updated successfully, but these errors were encountered: