szehon-ho commented on PR #6760: URL: https://github.com/apache/iceberg/pull/6760#issuecomment-1468865672
I stepped through the code, looks like the rule that optimizes out the filter is 'ConstantFolding'. Unfortunately it also returns no filter as well in the case of the filter being always true ie, (1 == 1). -- 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