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] [Updated] (HIVE-11282) CBO (Calcite Return Path): Inferring Hive type char/varchar of length zero which is not allowed
Date Thu, 16 Jul 2015 17:07:05 GMT

     [ https://issues.apache.org/jira/browse/HIVE-11282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesus Camacho Rodriguez updated HIVE-11282:
-------------------------------------------
    Attachment: HIVE-11282.patch

> 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)

Mime
View raw message