yihua opened a new pull request, #20871: URL: https://github.com/apache/hudi/pull/20871
### Describe the issue this Pull Request addresses closes #20869 With the `spark3.3` profile the test sources of `hudi-hadoop-mr` do not compile, because `InputFormatTestUtil` names `AvroWriteSupport.WRITE_FIXED_AS_INT96` and parquet-avro 1.12.2 does not have that constant. ### Summary and Changelog The helper now sets the property by its key, `parquet.avro.writeFixedAsInt96`, which is the value of the constant in parquet-avro 1.13 and later. Checked locally: `mvn -Dspark3.3 test-compile -pl hudi-hadoop-mr` fails with `cannot find symbol WRITE_FIXED_AS_INT96` before the change and passes after it. On parquet-avro 1.12.2 the property has no effect, so there the helper still writes the timestamp as a plain fixed. This change only restores compilation. ### Impact None for users. Test code only. ### Risk Level none ### Documentation Update none ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Enough context is provided in the sections above - [ ] Adequate tests were added if applicable -- 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]
