Hive
  1. Hive
  2. HIVE-3622

reflect udf cannot find method which has arguments of primitive types and String, Binary, Timestamp types mixed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: UDF
    • Labels:
      None

      Description

      From http://mail-archives.apache.org/mod_mbox/hive-user/201210.mbox/%3CCANkN6JApahvYrVuiy-j4VJ0dO2tzTpePwi7LUNCp12Vwj6d6xw%40mail.gmail.com%3E
      <noformat>
      Query
      select reflect('java.lang.Integer', 'parseInt', 'a', 16) from src limit 1;

      throws java.lang.NoSuchMethodException: java.lang.Integer.parseInt(null, int)
      <noformat>

      1. HIVE-3622.D6201.1.patch
        5 kB
        Phabricator
      2. HIVE-3622.D6201.2.patch
        9 kB
        Phabricator

        Activity

          People

          • Assignee:
            Navis
            Reporter:
            Navis
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development