matriv commented on a change in pull request #17962:
URL: https://github.com/apache/flink/pull/17962#discussion_r759702875
##########
File path:
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/metadata/FlinkRelMdColumnUniqueness.scala
##########
@@ -81,9 +80,22 @@ class FlinkRelMdColumnUniqueness private extends
MetadataHandler[BuiltInMetadata
return false
}
- // TODO get uniqueKeys from TableSchema of TableSource
-
relOptTable match {
+ case sourceTable: TableSourceTable =>
Review comment:
Thx, Please check again.
--
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]