[jira] [Created] (FLINK-13008) fix the findbugs warning in AggregationsFunction

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13008) fix the findbugs warning in AggregationsFunction

Shang Yuanchun (Jira)
wangpeibin created FLINK-13008:
----------------------------------

             Summary: fix the findbugs warning in AggregationsFunction
                 Key: FLINK-13008
                 URL: https://issues.apache.org/jira/browse/FLINK-13008
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Runtime
            Reporter: wangpeibin
            Assignee: wangpeibin


The goal is to fix the findbugs warning in *[GeneratedAggregations|[https://github.com/apache/flink/blob/e5cadf69d176181af7d097928bf2a6cade1b6c76/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/runtime/aggregate/GeneratedAggregations.scala]]*
 

with remove function in line 152, It return the UnsupportedOperationException() rather than  throw it  which cause a scariest findbugs  warning

 
{code:java}
override def remove(): Unit = new java.lang.UnsupportedOperationException
{code}
 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)