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

udf_substr.q fails when using JDK7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.9.1, 0.10.0, 0.11.0
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      None

      Description

      Internal error: Cannot find ConstantObjectInspector for BINARY

      This exception has two causes.

      JDK7 iterators do not return values in the same order as JDK6, which selects a different implementation of this UDF when the first argument is null. With JDK7 this happens to be the binary version.

      The binary version is not implemented properly which ultimately causes the exception when the method is called.

        Attachments

        1. HIVE-3630-0.10.patch
          4 kB
          Chris Drome
        2. HIVE-3630-0.9.patch
          7 kB
          Chris Drome
        3. HIVE-3630-trunk.patch
          4 kB
          Chris Drome

          Issue Links

            Activity

              People

              • Assignee:
                cdrome Chris Drome
                Reporter:
                cdrome Chris Drome
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: