gz opened a new issue, #15428:
URL: https://github.com/apache/datafusion/issues/15428
### Describe the bug
querying a table/parquet file with the following schema and query fails:
```
create table t (
m MAP<VARCHAR, REAL> NOT NULL
);
```
```
let df = ctx.sql("SELECT distinct m FROM t LIMIT 10").await?;
```
fails with:
```
Error: ArrowError(NotYetImplemented("not yet implemented: Map(Field { name:
\"entries\", data_type: Struct([Field { name: \"key\", data_type: Utf8,
nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field {
name: \"value\", data_type: Float32, nullable: true, dict_id: 0,
dict_is_ordered: false, metadata: {} }]), nullable: false, dict_id: 0,
dict_is_ordered: false, metadata: {} }, false)"), None)
```
it runs into the unimplemented error that comes from arrow-rs:
https://github.com/apache/arrow-rs/blob/main/arrow-row/src/lib.rs#L434
### To Reproduce
parquet file with the given format that fails the query attached for
convenience
[results_20250325_003444.parquet.zip](https://github.com/user-attachments/files/19458144/results_20250325_003444.parquet.zip)
### Expected behavior
query returns correct results
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]