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

Some GenericUDFs wrongly cast ObjectInspectors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-beta-1
    • 4.0.0
    • None

    Description

      For example, GenericUDFSplit throws ClassCastException when a non-primitive type is given.

      0: jdbc:hive2://hive-hiveserver2:10000/defaul> select split(array('a,b,c'), ',');
      Error: Error while compiling statement: FAILED: ClassCastException org.apache.hadoop.hive.serde2.objectinspector.StandardConstantListObjectInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector (state=42000,code=40000) 

       

      Attachments

        Issue Links

          Activity

            People

              okumin Shohei Okumiya
              okumin Shohei Okumiya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: