You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2013/12/26 06:45:54 UTC

[jira] [Created] (TAJO-453) PartitionedStoreExec can cause NPE due to column schema mismatch

Hyunsik Choi created TAJO-453:
---------------------------------

             Summary: PartitionedStoreExec can cause NPE due to column schema mismatch
                 Key: TAJO-453
                 URL: https://issues.apache.org/jira/browse/TAJO-453
             Project: Tajo
          Issue Type: Bug
          Components: planner/optimizer
            Reporter: Hyunsik Choi
            Priority: Minor
             Fix For: 0.8-incubating


See TAJO-432 and http://goo.gl/4tQOek. PartitionedStoreExec may cause NPE depending on query cases. This is caused by schema mismatch between partition columns and input schema.

{code:title=PartitionedStoreExec.java}
for (Column key : this.plan.getPartitionKeys()) {
        partitionKeys[i] = inSchema.getColumnId(key.getQualifiedName());
      i++;
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)