Sh-Zh-7 opened a new pull request, #17208: URL: https://github.com/apache/iotdb/pull/17208
This PR optimize TopKRankingOperator into LimitKRankingOperator when user use `PARTITION BY deivce ORDER BY time` or `PARTITION BY device ORDER BY time DESC`. Meanwhile, this PR also fix bugs when `SortElimination.visitStreamSort` eliminate sort when `isOrderByAllIdsAndTime=true` rather than checking sort order is consistent with scan order. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
