You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/05/27 06:58:17 UTC

[jira] [Resolved] (TAJO-1623) INSERT INTO with wrong target columns causes NPE.

     [ https://issues.apache.org/jira/browse/TAJO-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyunsik Choi resolved TAJO-1623.
--------------------------------
    Resolution: Fixed

committed to all branches.

> INSERT INTO with wrong target columns causes NPE.
> -------------------------------------------------
>
>                 Key: TAJO-1623
>                 URL: https://issues.apache.org/jira/browse/TAJO-1623
>             Project: Tajo
>          Issue Type: Improvement
>          Components: query validation
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.11.0, 0.10.1, 0.10.2
>
>         Attachments: TAJO-1623.patch
>
>
> h3. How to reproduce
> {code}
> CREATE TABLE T1 (col1 int, col2 int);
> INSERT INTO T1 (col1, col3) select l_orderkey, l_partkey from default.lineitem;
> {code}
> When the target column name is wrong (i.e.,, col3 in INSERT statement), the query will cause NPE.



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