hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8152) Update with expression in set fails
Date Mon, 22 Sep 2014 14:59:34 GMT

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

Alan Gates commented on HIVE-8152:
----------------------------------

In UpdateDeleteSemanticAnalyzer:
It looks like you have a added an unused import (antlr.collections.AST)
At line 347, adding the null check for columnsAccessInfo.  I think if this is null we should
create it rather than ignore adding the columns, as is done for the update columns above.
 [~thejas]?


> Update with expression in set fails
> -----------------------------------
>
>                 Key: HIVE-8152
>                 URL: https://issues.apache.org/jira/browse/HIVE-8152
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.14.0
>            Reporter: Alan Gates
>            Assignee: Eugene Koifman
>            Priority: Critical
>         Attachments: HIVE-8152.1.patch, HIVE-8152.2.patch, HIVE-8152.patch
>
>
> Doing: {{update orctabsmall set age = age + 1;}} results in {{FAILED: ParseException
line 1:33 missing EOF at '+' near 'age'}}
> We should be able to handle simple expressions in set clauses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message