From 3532b28f0190f50e2a79c2a18fa2d73aac8d01a7 Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Wed, 10 Feb 2021 14:00:16 +0800 Subject: [PATCH] [NSE-101] ColumnarWindow: Remove obsolete debug code (#102) Closes #101 --- cpp/src/codegen/arrow_compute/ext/window_kernel.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cpp/src/codegen/arrow_compute/ext/window_kernel.cc b/cpp/src/codegen/arrow_compute/ext/window_kernel.cc index e45f8060e..cb719c2bb 100644 --- a/cpp/src/codegen/arrow_compute/ext/window_kernel.cc +++ b/cpp/src/codegen/arrow_compute/ext/window_kernel.cc @@ -388,9 +388,6 @@ static arrow::Status DecodeIndices(std::shared_ptr in, std::vector } arrow::Status WindowRankKernel::SortToIndicesPrepare(std::vector 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)); } @@ -400,9 +397,6 @@ arrow::Status WindowRankKernel::SortToIndicesPrepare(std::vector valu arrow::Status WindowRankKernel::SortToIndicesFinish(std::vector> elements_to_sort, std::vector> *offsets) { -#ifdef DEBUG - std::cout << "RANK: partition: " << elements_to_sort->ToString() << std::endl; -#endif std::shared_ptr in; std::shared_ptr out; RETURN_NOT_OK(EncodeIndices(elements_to_sort, &in));