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


##########
cpp/src/arrow/dataset/file_parquet.cc:
##########
@@ -143,18 +147,25 @@ 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)));
+        compute::greater_equal(field_expr, compute::literal(min));
+    auto upper_bound = compute::less_equal(field_expr, compute::literal(max));
+    auto in_range = compute::Expression();

Review Comment:
   ```suggestion
       compute::Expression in_range;
   ```



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