mjsax commented on code in PR #14906: URL: https://github.com/apache/kafka/pull/14906#discussion_r1414416415
########## streams/src/main/java/org/apache/kafka/streams/query/RangeQuery.java: ########## @@ -59,25 +58,25 @@ private RangeQuery(final Optional<K> lower, final Optional<K> upper, final boole * @param <V> The value type */ public static <K, V> RangeQuery<K, V> withRange(final K lower, final K upper) { - return new RangeQuery<>(Optional.ofNullable(lower), Optional.ofNullable(upper), true); + return new RangeQuery<>(Optional.ofNullable(lower), Optional.ofNullable(upper), ResultOrder.ANY); } /** - * Determines if the serialized byte[] of the keys in ascending order. + * Determines if the serialized byte[] of the keys in ascending or any order. Review Comment: Could also be descending. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org