sanjibansg commented on code in PR #15125:
URL: https://github.com/apache/arrow/pull/15125#discussion_r1061965235


##########
cpp/src/arrow/dataset/file_parquet.cc:
##########
@@ -144,17 +159,23 @@ std::optional<compute::Expression> 
ColumnChunkStatisticsAsExpression(
       return compute::or_(std::move(single_value), 
is_null(std::move(field_expr)));
     }
 
-    auto lower_bound =
-        compute::greater_equal(field_expr, compute::literal(std::move(min)));
-    auto upper_bound = compute::less_equal(field_expr, 
compute::literal(std::move(max)));
+    auto lower_bound = compute::greater_equal(field_expr, 
compute::literal(min));

Review Comment:
   Apologies, I did not fully understand that. Can you elaborate on considering 
the inequality for min and max, and determining NaNs? Thanks!



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