fengguangyuan commented on issue #9431: URL: https://github.com/apache/iceberg/issues/9431#issuecomment-1929612546
Question 1: Why the exception? According to the error below you posted, we can know that the method `Literals.from(T value)` should be called when planning tasks, but unfortunately that method won't support JAVA type `OffsetDateTime`. > java.lang.IllegalArgumentException: Cannot create expression literal from java.time.OffsetDateTime So after called `toString()`, no exceptions occurred, that's expectable. Question 2: Why no records? I think you used a wrong expression `greaterThan` in the commented line, instead of `lessThan`. Am I right? > //.where(Expressions.greaterThan("storage_time", LocalDateTime.now().atOffset(ZoneOffset.UTC))) > .where(Expressions.lessThan("storage_time", "2024-01-04T07:43:44.934813Z")) -- 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...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org