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, a column has more meaning than just name and data type and need the Field data type to convey that. We hit a bug of missing column schema information because of missing other information a Field provides
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
Is your feature request related to a problem or challenge?
Currently, the
table_partition_colsofFileScanConfigis 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#L104In our IOx case, a column has more meaning than just
nameanddata typeand need the Field data type to convey that. We hit a bug of missing column schema information because of missing other information a Field providesDescribe 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