Skip to content

Commit 1fcb0d9

Browse files
committed
Another Cursor comment
1 parent e2bacb3 commit 1fcb0d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Functions/FunctionTopKFilter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ class FunctionTopKFilter: public IFunction
2929
if (!threshold_tracker_)
3030
throw Exception(ErrorCodes::LOGICAL_ERROR, "FunctionTopKFilter got NULL threshold_tracker");
3131

32-
String comparator = "less";
32+
String comparator = "lessOrEquals";
3333

3434
if (threshold_tracker->getDirection() == -1) /// DESC
35-
comparator = "greater";
35+
comparator = "greaterOrEquals";
3636
auto context = Context::getGlobalContextInstance();
3737
compare_function = FunctionFactory::instance().get(comparator, context);
3838
direction = threshold_tracker_->getDirection();

0 commit comments

Comments
 (0)