diff --git a/native-sql-engine/cpp/src/codegen/arrow_compute/ext/actions_impl.cc b/native-sql-engine/cpp/src/codegen/arrow_compute/ext/actions_impl.cc index cb7f24312..67d87e8e3 100644 --- a/native-sql-engine/cpp/src/codegen/arrow_compute/ext/actions_impl.cc +++ b/native-sql-engine/cpp/src/codegen/arrow_compute/ext/actions_impl.cc @@ -496,7 +496,10 @@ class CountDistinctAction : public ActionBase { return arrow::Status::OK(); }; - *on_null = [this]() { row_id++; return arrow::Status::OK(); }; + *on_null = [this]() { + row_id++; + return arrow::Status::OK(); + }; return arrow::Status::OK(); }