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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • storm-sql
    • 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

              kabhwan Jungtaek Lim
              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