You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/05/27 01:48:18 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14560142#comment-14560142 ]
ASF GitHub Bot commented on TAJO-1623:
--------------------------------------
GitHub user hyunsik opened a pull request:
https://github.com/apache/tajo/pull/587
TAJO-1623: INSERT INTO with wrong target columns causes NPE.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hyunsik/tajo TAJO-1623
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/587.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #587
----
commit 2f0d0898ce975a6ff824defe85c2b7209068aae8
Author: Hyunsik Choi <hy...@apache.org>
Date: 2015-05-26T23:47:16Z
TAJO-1623: INSERT INTO with wrong target columns causes NPE.
----
> 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
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.11.0, 0.10.1, 0.10.2
>
>
> 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)