Jungtaek Lim created STORM-2141:
-----------------------------------

             Summary: UDAFWrapper needs to provide parameter information when 
java.lang.IllegalArgumentException: argument type mismatch is occurred from 
invokeMethod.
                 Key: STORM-2141
                 URL: https://issues.apache.org/jira/browse/STORM-2141
             Project: Apache Storm
          Issue Type: Improvement
          Components: storm-sql
            Reporter: Jungtaek Lim


While developing UDF and UDAF, users should be aware of association between 
Calcite RelType and Java Type. 
Though Calcite validates SQL statement, there seems be the chance for UDAF to 
be called for unexpected parameter types, and 
"java.lang.IllegalArgumentException: argument type mismatch" is thrown.

We can grab it and provide expected parameters and actual parameters so that 
users can investigate why.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to