You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/02/27 03:39:05 UTC

[jira] [Commented] (HIVE-9791) insert into table throws NPE

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

Alexander Pivovarov commented on HIVE-9791:
-------------------------------------------

probably need to fix smth in HiveParser.g

> insert into table throws NPE
> ----------------------------
>
>                 Key: HIVE-9791
>                 URL: https://issues.apache.org/jira/browse/HIVE-9791
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Alexander Pivovarov
>
> to reproduce NPE run the following
> {code}
> create table a as select 'A' letter;
> OK
> insert into table a select 'B' letter;
> FAILED: NullPointerException null
> -- works fine if add "from <table>" to select statement
> insert into table a select 'B' letter from dual;
> OK
> {code}



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