suketa / ruby-duckdb

Ruby binding for DuckDB
https://github.com/suketa/ruby-duckdb
MIT License
137 stars 23 forks source link

Multiple List Columns of Different Dimensions Results in segfault #493

Closed stephenprater closed 2 months ago

stephenprater commented 1 year ago

Minimal Repro Case:

duckdb test.duckdb
create table test3 (list INT[], list2 INT[][])
insert into test3 values ([1,2], [[1,2]])
select * from test3;

Meanwhile in ruby:

c = DuckDB::Database.open('test.duckdb').connection
c.query('select * from test3').to_a # CRASH
suketa commented 3 months ago

@stephenprater It is fixed by #659, #660.