[
https://issues.apache.org/jira/browse/HIVE-20650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16632736#comment-16632736
]
Yuming Wang commented on HIVE-20650:
------------------------------------
cc [~jcamachorodriguez]
> trunc string type throw ArrayIndexOutOfBoundsException
> ------------------------------------------------------
>
> Key: HIVE-20650
> URL: https://issues.apache.org/jira/browse/HIVE-20650
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.3.3
> Reporter: Yuming Wang
> Priority: Major
>
> {code:sql}
> hive> select trunc('2.5');
> FAILED: ArrayIndexOutOfBoundsException 1
> hive> SELECT trunc('2009-02-12');
> FAILED: ArrayIndexOutOfBoundsException 1
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)