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

Commit

Permalink
[NSE-101] ColumnarWindow: Remove obsolete debug code (#102)
Browse files Browse the repository at this point in the history
Closes #101
  • Loading branch information
zhztheplayer committed Feb 10, 2021
1 parent cda8212 commit 3532b28
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cpp/src/codegen/arrow_compute/ext/window_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,6 @@ static arrow::Status DecodeIndices(std::shared_ptr<arrow::Array> in, std::vector
}

arrow::Status WindowRankKernel::SortToIndicesPrepare(std::vector<ArrayList> values) {
#ifdef DEBUG
std::cout << "RANK: values to sort: " << values.at(0)->ToString() << std::endl;
#endif
for (auto each_batch : values) {
RETURN_NOT_OK(sorter_->Evaluate(each_batch));
}
Expand All @@ -400,9 +397,6 @@ arrow::Status WindowRankKernel::SortToIndicesPrepare(std::vector<ArrayList> valu

arrow::Status WindowRankKernel::SortToIndicesFinish(std::vector<std::shared_ptr<ArrayItemIndex>> elements_to_sort,
std::vector<std::shared_ptr<ArrayItemIndex>> *offsets) {
#ifdef DEBUG
std::cout << "RANK: partition: " << elements_to_sort->ToString() << std::endl;
#endif
std::shared_ptr<arrow::Array> in;
std::shared_ptr<arrow::Array> out;
RETURN_NOT_OK(EncodeIndices(elements_to_sort, &in));
Expand Down

0 comments on commit 3532b28

Please sign in to comment.