Anirban-Chand commented on code in PR #13684:
URL: https://github.com/apache/gluten/pull/13684#discussion_r4632646988
##########
backends-velox/src-iceberg/test/scala/org/apache/gluten/execution/enhanced/VeloxIcebergSuite.scala:
##########
@@ -1065,4 +1066,51 @@ class VeloxIcebergSuite extends IcebergSuite {
Seq(Row(1, "hello"), Row(2, "world")))
}
}
+
+ test("GLUTEN-13429: timestamptz columns written with isAdjustedToUTC=true") {
Review Comment:
@infvg, I verified the upstream Iceberg test suite: the upstream tests
perform query-level round-trip validations (`SELECT ...` and comparing row
values). Because Java/Spark-based Iceberg readers silently coerce the timestamp
regardless of `isAdjustedToUTC`, those upstream tests pass even when
`isAdjustedToUTC=false` (which is why #13429 was only caught by strict readers
like `iceberg-go`).
The test in `VeloxIcebergSuite.scala` explicitly inspects
`ParquetFileReader.getFooter.getFileMetaData` to assert `isAdjustedToUTC=true`
directly on the physical Parquet metadata (matching the pattern used elsewhere
in `VeloxIcebergSuite` for page version and codec footer verification).
I propose keeping this test so we have regression coverage verifying the
physical Parquet metadata flag itself. What do you think?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]