pratyush-sharma-2025 opened a new pull request, #3118: URL: https://github.com/apache/parquet-java/pull/3118
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pull request title as below: GH-${GITHUB_ISSUE_ID}: ${SUMMARY} or simply use the title below if it is a minor issue: MINOR: ${SUMMARY} --> ### Rationale for this change There is an issue with reading of INT96 timestamp when they are present in a complex data type such as List<INT96>. It gives the following error - `Exception in thread "main" java.lang.IllegalArgumentException: INT96 is deprecated. As interim enable READ_INT96_AS_FIXED flag to read as byte array.` More details are present [here](https://github.com/apache/parquet-java/issues/3115). ### What changes are included in this PR? * Use `AvroSchemaConverter(boolean assumeRepeatedIsListElement, ParquetConfiguration conf)` while checking if the given type is element type of a list in `AvroRecordConverter#isElementType()` ### Are these changes tested? Added a new test case `TestArrayCompatibility#testIsElementTypeInt96Element()` ### Are there any user-facing changes? No. <!-- Please uncomment the line below and replace ${GITHUB_ISSUE_ID} with the actual Github issue id. --> <!-- Closes #${GITHUB_ISSUE_ID} --> -- 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: issues-unsubscr...@parquet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@parquet.apache.org For additional commands, e-mail: issues-h...@parquet.apache.org