generated from duckdb/extension-template
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Support for reading dictionary-encoded arrays is not yet implemented.
Simple example:
- Write file with Python:
import pyarrow as pa
from pyarrow import compute as pc
table = pa.Table.from_arrays(
arrays=[pc.dictionary_encode(pa.array(["a", "b", "c"]))],
names=["x"]
)
with pa.ipc.new_stream("dict.arrows", table.schema) as writer:
writer.write_table(table)- Try to read file with DuckDB:
INSTALL arrow FROM community;
LOAD arrow;
SELECT * FROM read_arrow('dict.arrows');- See error:
IO Error:
ArrowIpcDecoderDecodeSchema(decoder.get(), base_schema.get(), &error) failed with errno 45: Schema message field with DictionaryEncoding not supported
Metadata
Metadata
Assignees
Labels
No labels