Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
  • Loading branch information
zhouyuan committed Feb 22, 2022
1 parent df95aca commit 38a8e9f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,9 @@ class UniqueAction : public ActionBase {
if (!is_null) {
cache_validity_[dest_group_id] = true;
cache_[dest_group_id] = (CType)in_->GetView(row_id_);
//cache_.emplace(cache_.begin() + dest_group_id, in_->GetView(row_id_));
} else {
cache_validity_[dest_group_id] = true;
null_flag_[dest_group_id] = true;
// CType num;
// cache_.emplace(cache_.begin() + dest_group_id, num);
}
}
row_id_++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,6 @@ class HashAggregateKernel::Impl {
}
} else {
for (int i = 0; i < length; i++) {

aggr_hash_table_->GetOrInsert(
typed_key_in->GetView(i), [](int) {}, [](int) {}, &(indices[i]));
}
Expand Down
2 changes: 2 additions & 0 deletions native-sql-engine/cpp/src/tests/test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* limitations under the License.
*/

#pragma once

#include <arrow/array.h>
#include <arrow/buffer.h>
#include <arrow/ipc/json_simple.h>
Expand Down

0 comments on commit 38a8e9f

Please sign in to comment.