hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paras Sethia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-15819) Casting complex data types
Date Mon, 06 Feb 2017 04:38:41 GMT
Paras Sethia created HIVE-15819:
-----------------------------------

             Summary: Casting complex data types
                 Key: HIVE-15819
                 URL: https://issues.apache.org/jira/browse/HIVE-15819
             Project: Hive
          Issue Type: Bug
          Components: Parser, Types
            Reporter: Paras Sethia


The parser only supports casting primitive data types. Valid queries like these fail:

SELECT CAST (NULL as array<int>);

Error: Error while compiling statement: FAILED: ParseException line 1:21 cannot recognize
input near 'array' '<' 'int' in primitive type specification (state=42000,code=40000)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message