You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2016/11/15 04:46:58 UTC
[jira] [Resolved] (STORM-2141) UDAFWrapper needs to provide
parameter information when java.lang.IllegalArgumentException: argument
type mismatch is occurred from invokeMethod.
[ https://issues.apache.org/jira/browse/STORM-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jungtaek Lim resolved STORM-2141.
---------------------------------
Resolution: Won't Fix
This is against STORM-2200. Closing.
> 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
> Assignee: Jungtaek Lim
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)