zhangdove commented on issue #1713:
URL: https://github.com/apache/iceberg/issues/1713#issuecomment-721468134


   As the data type of your `frontdoor_timestamp` field is timestamp, you can 
express `frontdoor_timestamp = '2020-10-20'` by using the following method
   
   ```
   val tasks = scan
         .filter(Expressions.greaterThanOrEqual("frontdoor_timestamp", 
Timestamp.valueOf("2020-10-20").getTime * 1000))
         .filter(Expressions.lessThan("frontdoor_timestamp", 
Timestamp.valueOf("2020-10-21").getTime * 1000))
   ```
   
   Maybe there's a better way to write it, and hopefully that helps you.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to