Skip to content

Commit

Permalink
Merge pull request apache#15 from zhouyuan/wip_refine_probe
Browse files Browse the repository at this point in the history
[C++] cleanup probe kernel
  • Loading branch information
zhouyuan committed Dec 11, 2019
2 parents ed7e20e + 9921a90 commit 708e905
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cpp/src/arrow/compute/kernels/probe.cc
Expand Up @@ -26,7 +26,6 @@
#include <type_traits>
#include <utility>
#include <vector>
#include <iostream>

#include "arrow/array.h"
#include "arrow/array/dict_internal.h"
Expand Down Expand Up @@ -121,10 +120,9 @@ class PorbeKernel : public PorbeKernelImpl {
Status VisitValue(const Scalar& value) {
if (memo_table_->Get(value) != -1) {
indices_builder_.Append(memo_table_->Get(value));
std::cout << "xxxx found\n";
//writer->Set();
} else {
indices_builder_.Append(-1);
indices_builder_.AppendNull();
//writer->Clear();
}
//writer->Next();
Expand Down

0 comments on commit 708e905

Please sign in to comment.