Skip to content

Error loading data: Argument 'table' has incorrect type (expected pyarrow.lib.Table, got pyarrow.lib.RecordBatchReader) #91

@PhoenixHe-NV

Description

@PhoenixHe-NV
ERROR:quak._widget:Error processing query
Traceback (most recent call last):
  File "/python/.venv/lib/python3.12/site-packages/quak/_widget.py", line 86, in _handle_custom_msg
    buf = table_to_ipc(result)
          ^^^^^^^^^^^^^^^^^^^^
  File "/python/.venv/lib/python3.12/site-packages/quak/_util.py", line 80, in table_to_ipc
    feather.write_feather(table, sink, compression="uncompressed")
  File "/python/.venv/lib/python3.12/site-packages/pyarrow/feather.py", line 186, in write_feather
    _feather.write_feather(table, dest, compression=compression,
TypeError: Argument 'table' has incorrect type (expected pyarrow.lib.Table, got pyarrow.lib.RecordBatchReader)

quak: 0.3.2
duckdb: 1.4.1
marimo: 0.17.2
pyarrow: 22.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions