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

Commit

Permalink
[NSE-119] clean up on comments (#288)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan authored Apr 27, 2021
1 parent 7415b7b commit 1bf4d1d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,9 @@ class HashAggregateKernel::Impl {
post_process_projector_(post_process_projector),
action_impl_list_(action_impl_list) {
aggr_hash_table_ = std::make_shared<StringHashMap>(ctx->memory_pool());
#ifdef DEBUG
std::cout << "using string hashagg res" << std::endl;
#endif
batch_size_ = GetBatchSize();
if (key_index_list.size() > 1) {
aggr_key_unsafe_row = std::make_shared<UnsafeRow>(key_index_list.size());
Expand Down Expand Up @@ -859,9 +861,6 @@ class HashAggregateKernel::Impl {
typed_key_in->null_count() == 0 ? true : !typed_key_in->IsNull(i);
}

// for (int n = 0; n < aggr_key.size(); ++n) printf("%0X ",
// *(aggr_key.data() + n)); std::cout << std::endl;

// 3. get key from hash_table
int memo_index = 0;
if (!aggr_key_validity) {
Expand Down

0 comments on commit 1bf4d1d

Please sign in to comment.