somandal commented on code in PR #10408:
URL: https://github.com/apache/pinot/pull/10408#discussion_r1134975099
##########
pinot-query-planner/src/main/java/org/apache/pinot/query/planner/stage/MailboxSendNode.java:
##########
@@ -32,17 +38,36 @@ public class MailboxSendNode extends AbstractStageNode {
private RelDistribution.Type _exchangeType;
@ProtoProperties
private KeySelector<Object[], Object[]> _partitionKeySelector;
+ @ProtoProperties
+ private List<RexExpression> _collationKeys;
+ @ProtoProperties
+ private List<RelFieldCollation.Direction> _collationDirections;
+ @ProtoProperties
+ private boolean _sortOnSender;
public MailboxSendNode(int stageId) {
super(stageId);
}
public MailboxSendNode(int stageId, DataSchema dataSchema, int
receiverStageId,
- RelDistribution.Type exchangeType, @Nullable KeySelector<Object[],
Object[]> partitionKeySelector) {
+ RelDistribution.Type exchangeType, @Nullable KeySelector<Object[],
Object[]> partitionKeySelector,
+ @Nullable List<RelFieldCollation> fieldCollations, boolean sortOnSender)
{
super(stageId, dataSchema);
_receiverStageId = receiverStageId;
_exchangeType = exchangeType;
_partitionKeySelector = partitionKeySelector;
+ if (!CollectionUtils.isEmpty(fieldCollations)) {
Review Comment:
done
--
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]