suketa / ruby-duckdb

Ruby binding for DuckDB

Home Page:https://github.com/suketa/ruby-duckdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple List Columns of Different Dimensions Results in segfault

stephenprater opened this issue · comments

commented

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

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