wenlong88 commented on a change in pull request #14699:
URL: https://github.com/apache/flink/pull/14699#discussion_r561514662
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/metadata/FlinkRelMdUniqueKeys.scala
##########
@@ -470,11 +470,11 @@ class FlinkRelMdUniqueKeys private extends
MetadataHandler[BuiltInMetadata.Uniqu
}
def getUniqueKeys(
- rel: StreamExecIntervalJoin,
+ rel: StreamPhysicalIntervalJoin,
mq: RelMetadataQuery,
ignoreNulls: Boolean): JSet[ImmutableBitSet] = {
- val joinInfo = JoinInfo.of(rel.getLeft, rel.getRight, rel.joinCondition)
- getJoinUniqueKeys(joinInfo, rel.joinType, rel.getLeft, rel.getRight, mq,
ignoreNulls)
+ val joinInfo = JoinInfo.of(rel.getLeft, rel.getRight, rel.getCondition)
Review comment:
we can not use analyzeCondition here, because join condition in interval
join doesn't contain time range part
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]