Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1-incubating
    • 2.1-incubating
    • sql-cmp
    • None

    Description

      We need to update the TMUDF interfaces for C++ and Java to support TINYINT as well.

      Here is an example where we run into problems:

      Create the UDF shown in TRAFODION-2382.

      Run this query:

      select *
      from udf(join_udf(16, 'A', 'B'));
      

      This will the following error, since the integer parameter is considered a NUMERIC with a length of 1 byte:

      *** ERROR[11252] TypeInfo::getLong() and getDouble() not supported for SQL type 4 (SQLSTATE 38902)
      

      Attachments

        Activity

          People

            hzeller Hans Zeller
            hzeller Hans Zeller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: