[
https://issues.apache.org/jira/browse/HIVE-11282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630050#comment-14630050
]
Ashutosh Chauhan commented on HIVE-11282:
-----------------------------------------
+1
> CBO (Calcite Return Path): Inferring Hive type char/varchar of length zero
> which is not allowed
> -----------------------------------------------------------------------------------------------
>
> Key: HIVE-11282
> URL: https://issues.apache.org/jira/browse/HIVE-11282
> Project: Hive
> Issue Type: Sub-task
> Components: CBO
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Attachments: HIVE-11282.patch
>
>
> When RT is on, we try to infer the Hive type from the Calcite type for the
> value '’ e.g. in udf3.q, and we end up with char (length=0) as a result. The
> min length of char/varchar in Hive is 1, thus an Exception is thrown.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)