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

    https://github.com/apache/incubator-trafodion/pull/511#discussion_r65269549
  
    --- Diff: core/sql/executor/ExHdfsScan.cpp ---
    @@ -410,16 +411,81 @@ ExWorkProcRetcode ExHdfsScanTcb::work()
     
            hdfsScanBufMaxSize_ = hdfsScanTdb().hdfsBufSize_;
     
    +            dataModCheckDone_ = FALSE;
    +
            if (numRanges_ > 0)
    -              step_ = INIT_HDFS_CURSOR;
    +              step_ = CHECK_FOR_DATA_MOD;
                 else
    -              step_ = DONE;
    +              step_ = CHECK_FOR_DATA_MOD_AND_DONE;
          }
          break;
     
    +        case CHECK_FOR_DATA_MOD:
    +        case CHECK_FOR_DATA_MOD_AND_DONE:
    +          {
    +            char * dirPath = hdfsScanTdb().hdfsRootDir_;
    --- End diff --
    
    Is this a single directory for the table? We may or may not completely 
support that yet, but partitioned tables can be spread over multiple 
directories outside of the location that's specified in the CREATE TABLE 
statement.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to