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.2.patch
        9 kB
        Phabricator
      2. HIVE-3622.D6201.1.patch
        5 kB
        Phabricator

        Activity

        Navis created issue -
        Phabricator made changes -
        Field Original Value New Value
        Attachment HIVE-3622.D6201.1.patch [ 12550906 ]
        Navis made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ashutosh Chauhan made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Phabricator made changes -
        Attachment HIVE-3622.D6201.2.patch [ 12560135 ]
        Ashutosh Chauhan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.11 [ 12323587 ]
        Resolution Fixed [ 1 ]
        Owen O'Malley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development