sarutak commented on PR #60516: URL: https://github.com/apache/spark/pull/60516#issuecomment-6985468346
Thanks for the review. Replies to the inline items are on their threads, and to the ones that dongjoon-hyun also raised on his. On the rest: - TODOs: added a `TODO(SPARK-61438)` at `moveEqualitiesFirst`, for the rows where an equality that goes first is NULL, and a `TODO(SPARK-61861)` at `replaceOperands`, for an operand that its constant would make end the operator, which SPARK-61033 keeps, as in `(id > 0 OR i BETWEEN 1 AND 100) AND id = 7` once the filter is pushed below the projection. - Description suggestion: instead, the check now also puts in the constants of the other equalities and the foldable columns, so both of your examples return no row, as on master, and the description says so (see 4591709813). - Flag: I'd rather not add one. Master's handling of such a column is in no release, and its off state would bring back, for every such filter, the failures that SPARK-60983 and SPARK-61033 introduced against 4.3.0, which this PR fixes, e.g. `id > 5 AND i * id > 0 AND i = 1`. In the conditions I measured, where this PR fails and master does not, 4.3.0 fails too, as the description lists, and SPARK-60983, SPARK-61033 and SPARK-60882 added no flag either. -- 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]
