kbendick commented on issue #4997:
URL: https://github.com/apache/iceberg/issues/4997#issuecomment-1150600979

   You’re right, they don’t.
   
   Instead of using `cast` in the interval one, I’d suggest using something 
like `DATE “2022-06-05”` (but I might be mixing up my Flink SQL and Spark SQL).
   
   As a general guideline the explicit use of cast operator tends to limit 
filter push down.
   
   Some of the folks who worked on https://github.com/apache/iceberg/pull/3400 
might be better able to help with this issue than I am.
   
   For now, if this runs inside of a Java / Scala / Python program, I’d suggest 
generating the WHERE clause as a string via the programming language while we 
gather further input.


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

Reply via email to