Github user twalthr commented on a diff in the pull request: https://github.com/apache/flink/pull/6090#discussion_r198427940 --- Diff: flink-libraries/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/local/ExecutionContext.java --- @@ -187,6 +206,7 @@ private static ClusterSpecification createClusterSpecification(CustomCommandLine private final StreamExecutionEnvironment streamExecEnv; private final TableEnvironment tableEnv; + @SuppressWarnings("unchecked") --- End diff -- Weird. If I remove the annotation and add wildcards, my IDE does not show a warning: `streamTableEnvironment.registerFunction(k, (AggregateFunction<?, ?>) v);`
---