You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/10/06 17:40:20 UTC
[jira] [Commented] (HIVE-14904) Hive: Constant fold VALUES()
clauses instead of erroring out
[ https://issues.apache.org/jira/browse/HIVE-14904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552619#comment-15552619 ]
Gopal V commented on HIVE-14904:
--------------------------------
Because of the way this is implemented in the SemanticAnalyzer *before* the semantic information is all established, this might be a whole yak shaving exercise.
> Hive: Constant fold VALUES() clauses instead of erroring out
> ------------------------------------------------------------
>
> Key: HIVE-14904
> URL: https://issues.apache.org/jira/browse/HIVE-14904
> Project: Hive
> Issue Type: Bug
> Components: Query Planning
> Affects Versions: 1.2.1, 2.1.0, 2.2.0
> Reporter: Gopal V
> Priority: Minor
>
> {code}
> hive> create temporary table foo (a int);
> hive> insert into foo values((1+1));
> FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values Expression of type + not supported in insert/values
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)