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)