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

ASF GitHub Bot commented on TAJO-1534:
--------------------------------------

Github user blrunner commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/522#discussion_r28572801
  
    --- Diff: 
tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/rcfile/RCFile.java
 ---
    @@ -1255,16 +1255,21 @@ public void init() throws IOException {
     
           for (int i = 0; i < targetColumnIndexes.length; i++) {
             int tid = targetColumnIndexes[i];
    +        SelectedColumn col = new SelectedColumn();
             if (tid < columnNumber) {
               skippedColIDs[tid] = false;
     
    -          SelectedColumn col = new SelectedColumn();
               col.colIndex = tid;
               col.runLength = 0;
               col.prvLength = -1;
               col.rowReadIndex = 0;
               selectedColumns[i] = col;
               colValLenBufferReadIn[i] = new NonSyncDataInputBuffer();
    +        }  else {
    --- End diff --
    
    The newly added code is the mostly same as those of existing codes.


> DelimitedTextFile return null instead of a NullDatum 
> -----------------------------------------------------
>
>                 Key: TAJO-1534
>                 URL: https://issues.apache.org/jira/browse/TAJO-1534
>             Project: Tajo
>          Issue Type: Bug
>          Components: storage
>    Affects Versions: 0.10.0
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>         Attachments: TAJO-1534.patch
>
>
> If a text row is less than table schema size, vtuple returns null



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

Reply via email to