okumin created HIVE-27905:
-----------------------------

             Summary: SPLIT throws ClassCastException
                 Key: HIVE-27905
                 URL: https://issues.apache.org/jira/browse/HIVE-27905
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 4.0.0-beta-1
            Reporter: okumin
            Assignee: okumin


GenericUDFSplit throws ClassCastException when a non-primitive type is given.
{code:java}
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) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to