hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11282) CBO (Calcite Return Path): Inferring Hive type char/varchar of length zero which is not allowed
Date Fri, 17 Jul 2015 19:10:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631755#comment-14631755
] 

Jesus Camacho Rodriguez commented on HIVE-11282:
------------------------------------------------

Fail is unrelated (HIVE-11284).

> 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
>             Fix For: 2.0.0
>
>         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)

Mime
View raw message