suketa

Results 57 comments of suketa

@DeflateAwning Currently I don't know how to read in-memory data directly, but you can read Polars data using temporary file. ```ruby require 'polars-df' require 'duckdb' df = Polars::DataFrame.new( { a:...

@fnorlin-skovik Unfortunately, ruby-duckdb does not support multiple queries currently. I think #650 is related.

@fnorlin-skovik I updated ruby-duckdb. try the latest version. ruby-duckdb supports multiple SQL statement, but does not accept multiple SQL statements with bind parameters. Because we don't know which parameters should...

``` #16 0x7f60fd98da53 in duckdb_prepared_statement_execute /home/runner/work/ruby-duckdb/ruby-duckdb/tmp/x86_64-linux/duckdb_native/3.5.0/../../../../ext/duckdb/prepared_statement.c:113:9 ``` Is the following code cause of error? https://github.com/suketa/ruby-duckdb/blob/4064bb2c09add0edb757931ac1c3092c00b9d5a4/ext/duckdb/prepared_statement.c#L113

The following code creates the error message when using ruby-asan ```ruby # frozen_string_literal: true require 'duckdb' def run_duckdb_asan_test db = DuckDB::Database.open con = db.connect con.execute('INSERT INTO test VALUES (?, "hello")',...

from https://github.com/suketa/ruby-duckdb/actions/runs/12727038118/job/35476088465?pr=855#step:9:26 The following code might be the reason? https://github.com/suketa/ruby-duckdb/blob/18cd7b3025a65d24549a394cf4c4c1d8208f7dfe/ext/duckdb/prepared_statement.c#L92 The following code ```ruby require 'duckdb' def run_duckdb_asan_test db = DuckDB::Database.open con = db.connect stmt = DuckDB::PreparedStatement.new(con, 'INSERT INTO test...

Thank you for your reporting Hmm, I don't have any windows environment now. But on CI with `ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x64-mingw-ucrt]` works fine. So I can't reproduce the...