sample/async_query_stream.rb in duckdb-1.0.0.2 vs sample/async_query_stream.rb in duckdb-1.1.0.0
- old
+ new
@@ -1,7 +1,6 @@
require 'duckdb'
-DuckDB::Result.use_chunk_each = true
DuckDB::Database.open do |db|
db.connect do |con|
con.query('SET threads=1')
con.query('CREATE TABLE tbl as SELECT range a, mod(range, 10) b FROM range(10000)')
con.query('CREATE TABLE tbl2 as SELECT range a, mod(range, 10) b FROM range(10000)')