From c684367ce593a81c097eb852b72cd9fcd7f032c9 Mon Sep 17 00:00:00 2001 From: Yuan Zhou Date: Thu, 7 Jan 2021 23:05:05 +0800 Subject: [PATCH] do not early close sorter Signed-off-by: Yuan Zhou --- .../main/scala/com/intel/oap/expression/ColumnarSorter.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/scala/com/intel/oap/expression/ColumnarSorter.scala b/core/src/main/scala/com/intel/oap/expression/ColumnarSorter.scala index a0ecd638f..0fe9b0389 100644 --- a/core/src/main/scala/com/intel/oap/expression/ColumnarSorter.scala +++ b/core/src/main/scala/com/intel/oap/expression/ColumnarSorter.scala @@ -157,7 +157,8 @@ class ColumnarSorter( has_next = sort_iterator.hasNext() if (has_next == false) { - close() + //TODO(): should try to close sorter + //close() } return has_next