morrySnow commented on code in PR #63379:
URL: https://github.com/apache/doris/pull/63379#discussion_r3295907667
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -2850,7 +2851,9 @@ private PartitionSortNode
translatePartitionSortNode(PhysicalPartitionTopN<? ext
.collect(Collectors.toList());
// partition key should on child tuple, sort key should on partition
top's tuple
TupleDescriptor sortTuple =
generateTupleDesc(partitionTopN.child().getOutput(), null, context);
- final SortInfo sortInfo = getSortInfo(partitionTopN.getOrderKeys(),
context, sortTuple);
+ List<OrderKey> orderKeys = prunePartitionKeys(
Review Comment:
should impl this feature in
`org.apache.doris.nereids.trees.plans.logical.LogicalWindow#pushPartitionLimitThroughWindow`
--
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]