-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Labels
enhancementNew feature or requestNew feature or requestsqllogictestSQL Logic Tests (.slt)SQL Logic Tests (.slt)
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Add support to the arrow CSV writer for writing lists.
Currently an sqllogictest of the format:
query T
SELECT array_agg(c13) FROM (SELECT * FROM aggregate_test_100 ORDER BY c13 LIMIT 2) test
----
[0VVIHzxWtNOFLtnhjHEKjXaJOSLJfm0keZ5G8BffGwgF2RwQD59TFzMStxCB]
will fail with
thread 'main' panicked at 'called Result::unwrap() on an Err value: CsvError("CSV Writer does not support List(Field { name: \"item\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }) data type")', datafusion/core/tests/sqllogictests/src/main.rs:134:33
Source of failure in arrow-csv: https://github.com/apache/arrow-rs/blob/master/arrow-csv/src/writer.rs#L228
Not sure if this makes sense to implement upstream (in arrow-csv) or as part of datafusions test harness
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsqllogictestSQL Logic Tests (.slt)SQL Logic Tests (.slt)