From 49f41e25290e179c7319f7665c9102f1f1895b80 Mon Sep 17 00:00:00 2001 From: mwish <1506118561@qq.com> Date: Tue, 3 Sep 2024 21:41:47 +0800 Subject: [PATCH] Update cpp/src/arrow/dataset/file_parquet.cc Co-authored-by: Antoine Pitrou --- cpp/src/arrow/dataset/file_parquet.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/dataset/file_parquet.cc b/cpp/src/arrow/dataset/file_parquet.cc index f54dc69a9c826..6184a7eeab9ba 100644 --- a/cpp/src/arrow/dataset/file_parquet.cc +++ b/cpp/src/arrow/dataset/file_parquet.cc @@ -419,7 +419,7 @@ std::optional ParquetFileFragment::EvaluateStatisticsAsExpr in_range = compute::and_(std::move(lower_bound), std::move(upper_bound)); } if (may_has_null) { - return compute::or_(std::move(in_range), compute::is_null(field_expr)); + return compute::or_(std::move(in_range), compute::is_null(std::move(field_expr))); } return in_range; }