siddharthteotia commented on code in PR #8558: URL: https://github.com/apache/pinot/pull/8558#discussion_r855388522
########## pinot-query-planner/src/main/java/org/apache/pinot/query/planner/nodes/MailboxSendNode.java: ########## @@ -18,21 +18,35 @@ */ package org.apache.pinot.query.planner.nodes; +import javax.annotation.Nullable; import org.apache.calcite.rel.RelDistribution; +import org.apache.calcite.rel.type.RelDataType; +import org.apache.pinot.query.planner.nodes.serde.ProtoProperties; +import org.apache.pinot.query.planner.partitioning.KeySelector; public class MailboxSendNode extends AbstractStageNode { + @ProtoProperties private int _receiverStageId; + @ProtoProperties private RelDistribution.Type _exchangeType; + @ProtoProperties + private KeySelector<Object[], Object> _partitionKeySelector; public MailboxSendNode(int stageId) { - super(stageId); + super(stageId, null); } - public MailboxSendNode(int stageId, int receiverStageId, RelDistribution.Type exchangeType) { - super(stageId); + public MailboxSendNode(int stageId, RelDataType rowType, int receiverStageId, RelDistribution.Type exchangeType) { Review Comment: (nit) provide brief javadocs on usage of both constructors please ? -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org