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

udf_substr.q fails when using JDK7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.9.1, 0.10.0, 0.11.0
    • None
    • Tests
    • 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.9.patch
          7 kB
          Chris Drome
        2. HIVE-3630-trunk.patch
          4 kB
          Chris Drome
        3. HIVE-3630-0.10.patch
          4 kB
          Chris Drome

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: