Jefffrey commented on issue #1785:
URL: https://github.com/apache/datafusion/issues/1785#issuecomment-3306380927

   I'll close this as I tested on latest main 
(e2a5b57cf1226aabc4068c5d2fa59e8c138a3f72) and it seems fine now.
   
   ```rust
       let ctx = SessionContext::new();
       ctx.read_avro(
           "/Users/jeffrey/Downloads/test.avro",
           AvroReadOptions::default(),
       )
       .await?
       .show()
       .await?;
   ```
   
   Output:
   
   ```
   
+--------+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   | status | snapshot_id         | data_file                                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                 |
   
+--------+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   | 1      | 4486040319718220013 | {file_path: 
/warehouse/db/table/data/ts_hour=2022-02-07-17/00015-195989-291e52f5-b4b3-45a8-9bfd-da0bf8277229-00001.parquet,
 file_format: PARQUET, partition: {ts_hour: 456737}, record_count: 1, 
file_size_in_bytes: 1254, block_size_in_bytes: 67108864, column_sizes: [{key: 
1, value: 57}, {key: 2, value: 63}, {key: 3, value: 53}, {key: 4, value: 53}], 
value_counts: [{key: 1, value: 1}, {key: 2, value: 1}, {key: 3, value: 1}, 
{key: 4, value: 1}], null_value_counts: [{key: 1, value: 0}, {key: 2, value: 
0}, {key: 3, value: 0}, {key: 4, value: 0}], nan_value_counts: [{key: 3, value: 
0}, {key: 4, value: 0}], lower_bounds: [{key: 1, value: c0b9ac4471d70500}, 
{key: 2, value: 386531613064633061303739}, {key: 3, value: 9a992141}, {key: 4, 
value: 4d0bba42}], upper_bounds: [{key: 1, value: c0b9ac4471d70500}, {key: 2, 
value: 386531613064633061303739}, {key: 3, value: 9a992141}, {key: 4, value: 
4d0bba42}], key_metadata: , split_offsets: [4], sort_order_id: 0} |
   
+--------+---------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   ```


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

Reply via email to