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

    https://github.com/apache/trafodion/pull/1417#discussion_r167473505
  
    --- Diff: core/sql/executor/ExHdfsScan.cpp ---
    @@ -380,10 +407,12 @@ ExWorkProcRetcode ExHdfsScanTcb::work()
       HdfsFileInfo *hdfo = NULL;
       Lng32 openType = 0;
       int changedLen = 0;
    - ContextCli *currContext = 
getGlobals()->castToExExeStmtGlobals()->getCliGlobals()->currContext();
    -   hdfsFS hdfs = 
currContext->getHdfsServerConnection(hdfsScanTdb().hostName_,hdfsScanTdb().port_);
    -   hdfsFileInfo *dirInfo = NULL;
    -   Int32 hdfsErrorDetail = 0;//this is errno returned form underlying 
hdfsOpenFile call.
    +  ContextCli *currContext = 
getGlobals()->castToExExeStmtGlobals()->getCliGlobals()->currContext();
    +  hdfsFS hdfs = 
currContext->getHdfsServerConnection(hdfsScanTdb().hostName_,hdfsScanTdb().port_);
    --- End diff --
    
    Didn't make any change in this line except for aligning it


---

Reply via email to