doki23 commented on PR #4221: URL: https://github.com/apache/arrow-datafusion/pull/4221#issuecomment-1316385432
I find that [ListingTable](https://github.com/apache/arrow-datafusion/blob/406c1087bc16f8d2a49e5a9b05d2a0e1b67f7aa5/datafusion/core/src/datasource/listing/table.rs#L416) also treats type of partitioned columns as `Utf8`. I plan to change the struct [ListOptions](https://github.com/apache/arrow-datafusion/blob/406c1087bc16f8d2a49e5a9b05d2a0e1b67f7aa5/datafusion/core/src/datasource/listing/table.rs#L207). There 2 ways: 1. change the existing property `table_partition_cols` but it's a break change to proto. 2. add an optional property `table_partition_fields` whose type is `Option<Vec<Field>>`. I am appreciative if any suggestions. -- 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]
