JingsongLi commented on a change in pull request #16239:
URL: https://github.com/apache/flink/pull/16239#discussion_r659603080
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/rules/logical/TemporalJoinRewriteWithUniqueKeyRule.scala
##########
@@ -161,12 +161,12 @@ class TemporalJoinRewriteWithUniqueKeyRule extends
RelOptRule(
val rightFields = snapshot.getRowType.getFieldList
val fmq =
FlinkRelMetadataQuery.reuseOrCreate(snapshot.getCluster.getMetadataQuery)
- val uniqueKeySet = fmq.getUniqueKeys(snapshot.getInput())
+ val upsertKeySet = fmq.getUpsertKeys(snapshot.getInput())
Review comment:
But rowtime Deduplicate does not transmit unique keys.
--
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]