alamb commented on issue #8404:
URL: https://github.com/apache/arrow-rs/issues/8404#issuecomment-3330775763

   Here is the reproducer:
   
   
[arrow-bug-dremel-encoding.parquet.zip](https://github.com/user-attachments/files/22523297/arrow-bug-dremel-encoding.parquet.zip)
   
   DataFusion CLI indeed has an error:
   
   ```shell
   DataFusion CLI v50.0.0
   > select * from 'arrow-bug-dremel-encoding.parquet';
   Parquet error: Arrow: Parquet argument error: Parquet error: Failed to 
decode level data for struct array
   ```
   
   
   DuckDB can read this file
   ```
   D select * from read_parquet('arrow-bug-dremel-encoding.parquet');
   
┌─────────────┬─────────┬───────────┬─────────────┬─────────┬─────────────────┬──────────────────────┬────────────┬─────────────────────────────────────────────────────┐
   │ registrable │  etld   │ is_market │ is_expiring │  zone   │ 
security_trails │       markets        │   domain   │                      
embedding                      │
   │   varchar   │ varchar │  boolean  │   boolean   │ boolean │     boolean    
 │ struct(market varc…  │  varchar   │                       float[]            
           │
   
├─────────────┼─────────┼───────────┼─────────────┼─────────┼─────────────────┼──────────────────────┼────────────┼─────────────────────────────────────────────────────┤
   │ en13549     │ eu      │ true      │ false       │ false   │ true           
 │ [{'market': sedo.c…  │ en13549.eu │ [-0.056253448, -0.026599279, 
-0.05077901, -0.0911…  │
   
└─────────────┴─────────┴───────────┴─────────────┴─────────┴─────────────────┴──────────────────────┴────────────┴─────────────────────────────────────────────────────┘
   D
   ```


-- 
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]

Reply via email to