slinkydeveloper commented on a change in pull request #18621:
URL: https://github.com/apache/flink/pull/18621#discussion_r800611235
##########
File path:
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/nodes/exec/stream/StreamExecIntervalJoin.java
##########
@@ -267,26 +284,39 @@ public StreamExecIntervalJoin(
new StreamMap<>(rightPadder),
returnTypeInfo,
rightParallelism);
+ padRightStream.setUid(getOperatorUid(PAD_RIGHT_OPERATOR));
padRightStream.setDescription(
getFormattedOperatorDescription("pad right input
transformation", config));
padRightStream.setName(
getFormattedOperatorName(padRightStream.getDescription(),
"PadRight", config));
+ Transformation<RowData> transformation;
switch (joinSpec.getJoinType()) {
case INNER:
- return new UnionTransformation<>(
- Lists.newArrayList(filterAllLeftStream,
filterAllRightStream));
+ transformation =
+ new UnionTransformation<>(
+ Lists.newArrayList(filterAllLeftStream,
filterAllRightStream));
+ break;
case LEFT:
- return new UnionTransformation<>(
- Lists.newArrayList(padLeftStream,
filterAllRightStream));
+ transformation =
+ new UnionTransformation<>(
+ Lists.newArrayList(padLeftStream,
filterAllRightStream));
+ break;
case RIGHT:
- return new UnionTransformation<>(
- Lists.newArrayList(filterAllLeftStream,
padRightStream));
+ transformation =
+ new UnionTransformation<>(
+ Lists.newArrayList(filterAllLeftStream,
padRightStream));
+ break;
case FULL:
- return new
UnionTransformation<>(Lists.newArrayList(padLeftStream, padRightStream));
+ transformation =
+ new UnionTransformation<>(
+ Lists.newArrayList(padLeftStream,
padRightStream));
+ break;
default:
throw new TableException("should no reach here");
}
+ transformation.setUid(getOperatorUid(INTERVAL_JOIN_OPERATOR));
Review comment:
Just checked, it's dropped, so i guess we don't need this setUid at all
here
--
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]