[
https://issues.apache.org/jira/browse/HIVE-27905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ayush Saxena updated HIVE-27905:
--------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Some GenericUDFs wrongly cast ObjectInspectors
> ----------------------------------------------
>
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> For example, 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)