zhangshenghang opened a new pull request, #11067: URL: https://github.com/apache/seatunnel/pull/11067
### Purpose of this pull request Fixes #10928. When `parquet_avro_write_timestamp_as_int96 = true`, Parquet schema field names are normalized to lowercase. However, the INT96 matching set kept the original SeaTunnel field names, such as `createTime`. For mixed-case timestamp columns, this made schema generation and value conversion disagree: - schema generation checked `createtime` and created a normal timestamp field - value conversion checked `createTime` and wrote an INT96 `GenericData.Fixed` value That could fail while writing Parquet rows. ### Does this PR introduce _any_ user-facing change? No. It only fixes Parquet INT96 writing for mixed-case field names. ### How was this patch tested? - `./mvnw -pl seatunnel-connectors-v2/connector-file/connector-file-base -Dtest=ParquetWriteStrategyTest#testParquetWriteInt96WithMixedCaseTimestampColumn test` - `./mvnw -pl seatunnel-connectors-v2/connector-file/connector-file-base -Dtest=ParquetWriteStrategyTest test` - `./mvnw spotless:apply` - `./mvnw -q -DskipTests verify` - `./mvnw -pl seatunnel-connectors-v2/connector-file/connector-file-base test` -- 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]
