pan3793 commented on code in PR #13106:
URL: https://github.com/apache/iceberg/pull/13106#discussion_r2105811400
##########
spark/v4.0/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestWriteAborts.java:
##########
@@ -121,7 +121,7 @@ public void testBatchAppend() throws IOException {
"Should be no orphan data files",
ImmutableList.of(),
sql(
- "CALL %s.system.remove_orphan_files(table => '%s', older_than =>
%dL, location => '%s')",
+ "CALL %s.system.remove_orphan_files(table => '%s', older_than =>
CAST(%dL AS TIMESTAMP), location => '%s')",
Review Comment:
implicit cast does not work here, LONG => TIMESTAMP requries an explicitly
cast
--
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]