vustef commented on issue #7299: URL: https://github.com/apache/arrow-rs/issues/7299#issuecomment-3446830201
The other thing that follows from this is extending `ParquetFieldType` enum with `Virtual(VirtualColumnType)`. This is necessary to be able to extend `fields: Option<Arc<ParquetField>>` in `ParquetRecordBatchReaderBuilder`, and then it can be used in the `array_builder` to actually construct array readers for virtual columns. `VirtualColumnType` can indicate a type of virtual column, e.g. `RowNumber` for this GH issue, or `RowGroupId` for another type of virtual column. You can also notice I have a namign preference for `virtual` instead of `metadata`, curious about others' preference. -- 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]
