NGA-TRAN opened a new issue, #7875:
URL: https://github.com/apache/arrow-datafusion/issues/7875

   ### Is your feature request related to a problem or challenge?
   
   Currently, the `table_partition_cols` of `FileScanConfig` is a vector of 
`(String, DataType)` to store only column name and data type 
https://github.com/apache/arrow-datafusion/blob/37d6bf08c948418fe6c72d072d988c2875d81e02/datafusion/core/src/datasource/physical_plan/file_scan_config.rs#L104
   
   In our IOx case, we use a column has more meaning than just `name` and `data 
type` and need the 
[Field](https://github.com/apache/arrow-rs/blob/7e134f4d277c0b62c27529fc15a4739de3ad0afd/arrow-schema/src/field.rs#L37C5-L37C5)
 data type to convey that. 
   
   ### Describe the solution you'd like
   
   Replace   `pub table_partition_cols: Vec<(String, DataType)>,`
   with         `pub table_partition_cols: Vec<Field>,`
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### 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]

Reply via email to