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

[NSE-101] ColumnarWindow: Remove obsolete debug code #102

Merged
merged 1 commit into from
Feb 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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