Gabriel39 commented on code in PR #53271:
URL: https://github.com/apache/doris/pull/53271#discussion_r2206889795
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -3026,7 +3026,7 @@ private boolean checkPushSort(SortNode sortNode,
OlapTable olapTable) {
return false;
}
- if (sortNode.getSortInfo().getOrderingExprs().stream().anyMatch(e ->
e.getType().isArrayType())) {
Review Comment:
Object type and variant type are not supported by orderBy at all. So here we
just should prevent the supported complex types applying topK optimization.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]