appletreeisyellow commented on code in PR #9223:
URL: https://github.com/apache/arrow-datafusion/pull/9223#discussion_r1525511859


##########
datafusion/core/src/physical_optimizer/pruning.rs:
##########
@@ -2066,7 +2301,21 @@ mod tests {
         let expr = col("c1")
             .lt(lit(1))
             .and(col("c2").eq(lit(2)).or(col("c2").eq(lit(3))));
-        let expected_expr = "c1_min@0 < 1 AND (c2_min@1 <= 2 AND 2 <= c2_max@2 
OR c2_min@1 <= 3 AND 3 <= c2_max@2)";
+        let expected_expr = "\
+            CASE \
+                WHEN c1_null_count@1 = c1_row_count@2 THEN false \
+                ELSE c1_min@0 < 1 \
+            END \
+        AND (\
+                CASE \
+                    WHEN c2_null_count@5 = c2_row_count@6 THEN false \

Review Comment:
   👍 Tracked in 
https://github.com/apache/arrow-datafusion/issues/9171#issuecomment-1998518531



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

Reply via email to