godfreyhe commented on a change in pull request #11340: [Flink 14338] Upgrade Calcite version to 1.22 for Flink SQL URL: https://github.com/apache/flink/pull/11340#discussion_r391372858
########## File path: flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/planner/plan/metadata/FlinkRelMetadataQuery.java ########## @@ -59,37 +57,18 @@ public static FlinkRelMetadataQuery instance() { * @param mq metadataQuery which try to reuse * @return a FlinkRelMetadataQuery instance */ - public static FlinkRelMetadataQuery reuseOrCreate(RelMetadataQuery mq) { + public static <M extends RelMetadataQuery> FlinkRelMetadataQuery reuseOrCreate(M mq) { Review comment: nit: is there any difference ? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services