vustef commented on issue #7299: URL: https://github.com/apache/arrow-rs/issues/7299#issuecomment-3450318338
I drafted this at [here](https://github.com/apache/arrow-rs/pull/8715). The API there is: ```rust let file = File::open(path).unwrap(); let row_number_field = Field::new("row_number", ArrowDataType::Int64, false).with_extension_type(RowNumber); let options = ArrowReaderOptions::new().with_virtual_columns(vec![row_number_field]); let reader = ParquetRecordBatchReaderBuilder::try_new_with_options(file, options) .unwrap() .build() .expect("Could not create reader"); reader .collect::<Result<Vec<_>, _>>() .expect("Could not read") ``` I suggest skimming through this, as it contains some extra nuances besides the API. I don't expect to make much more substantial changes to it until I get feedback. -- 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]
