emkornfield commented on issue #14748: URL: https://github.com/apache/arrow/issues/14748#issuecomment-1333332838
So looking into it it appears the problem is likely: ``` static_cast<parquet::FixedLenByteArrayReader*>(rg_reader->Column(10).get()); ``` The docs on [`Column()`](https://github.com/apache/arrow/blob/75ae2cca38ea36c521c9b9c2dc30f8e12762d409/cpp/src/parquet/file_reader.h#L56) appear to be incorrect it looks like a fresh reader is [returned each time](https://github.com/apache/arrow/blame/75ae2cca38ea36c521c9b9c2dc30f8e12762d409/cpp/src/parquet/file_reader.cc#L75). If you assign the column reader to a variable first and then do the cast does it fix your issue? If it does, would you like to contribute a PR updating the docs? -- 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]
