message: Fix to use schema as keyword argument
diff: @@ -28,7 +28,7 @@ class TestArrowRecordBatchReader(object):
  , format="parquet")
  batches= [r for r in userdata_parquet_dataset.to_batches()]
  - reader=pyarrow.dataset.Scanner.from_batches(batches,userdata_parquet_dataset.schema).to_reader()
  + reader=pyarrow.dataset.Scanner.from_batches(batches,schema=userdata_parquet_dataset.schema).to_reader()
  rel = duckdb_conn.from_arrow(reader)
  @@ -53,7 +53,7 @@ class TestArrowRecordBatchReader(object):
  , format="parquet")
  batches= [r for r in userdata_parquet_dataset.to_batches()]
  - reader=pyarrow.dataset.Scanner.from_batches(batches,userdata_parquet_dataset.schema).to_reader()
  + reader=pyarrow.dataset.Scanner.from_batches(batches,schema=userdata_parquet_dataset.schema).to_reader()
  assert duckdb_conn.execute("select count(*) from reader where first_name=\'Jose\' and salary > 134708.82").fetchone()[0] == 12
  assert duckdb_conn.execute("select count(*) from reader where first_name=\'Jose\' and salary > 134708.82").fetchone()[0] == 0
  @@ -75,7 +75,7 @@ class TestArrowRecordBatchReader(object):
  , format="parquet")
  batches= [r for r in userdata_parquet_dataset.to_batches()]
  - reader=pyarrow.dataset.Scanner.from_batches(batches,userdata_parquet_dataset.schema).to_reader()
  + reader=pyarrow.dataset.Scanner.from_batches(batches,schema=userdata_parquet_dataset.schema).to_reader()
  duckdb_conn.register("bla", reader)
  @@ -96,7 +96,7 @@ class TestArrowRecordBatchReader(object):
  , format="parquet")
  batches= [r for r in userdata_parquet_dataset.to_batches()]
  - reader=pyarrow.dataset.Scanner.from_batches(batches,userdata_parquet_dataset.schema).to_reader()
  + reader=pyarrow.dataset.Scanner.from_batches(batches,schema=userdata_parquet_dataset.schema).to_reader()
  rel = duckdb.from_arrow(reader)
  @@ -104,4 +104,3 @@ class TestArrowRecordBatchReader(object):
  # The reader is already consumed so this should be 0
  assert rel.filter("first_name=\'Jose\' and salary > 134708.82").aggregate('count(*)').execute().fetchone()[0] == 0
  -
  \ No newline at end of file
  