[ 
https://issues.apache.org/jira/browse/FLINK-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933151#comment-15933151
 ] 

ASF GitHub Bot commented on FLINK-6127:
---------------------------------------

Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3572#discussion_r106967721
  
    --- Diff: 
flink-libraries/flink-table/src/main/java/org/apache/flink/table/calcite/rules/FlinkAggregateExpandDistinctAggregatesRule.java
 ---
    @@ -114,15 +114,21 @@ public FlinkAggregateExpandDistinctAggregatesRule(
                this.useGroupingSets = useGroupingSets;
        }
     
    -   @Deprecated // to be removed before 2.0
    +   /**
    +    * @deprecated to be removed before 2.0
    --- End diff --
    
    These are actually deprecation annotations by Calcite. We copied the files 
(see comment on top) because we had to fix a bug. The files will be removed 
once the bugs are fixed with a newer Calcite release.


> Add MissingDeprecatedCheck to checkstyle
> ----------------------------------------
>
>                 Key: FLINK-6127
>                 URL: https://issues.apache.org/jira/browse/FLINK-6127
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Ufuk Celebi
>            Priority: Minor
>
> We should add the MissingDeprecatedCheck to our checkstyle rules to help 
> avoiding deprecations without JavaDocs mentioning why the deprecation 
> happened.
> http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/MissingDeprecatedCheck.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to