Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3622

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0
    • UDF
    • 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>

      Attachments

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

        Activity

          People

            navis Navis Ryu
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: