Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2141

UDAFWrapper needs to provide parameter information when java.lang.IllegalArgumentException: argument type mismatch is occurred from invokeMethod.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: storm-sql
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kabhwan Jungtaek Lim
                Reporter:
                kabhwan Jungtaek Lim
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h