Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1674#discussion_r207459712
--- Diff: core/sql/executor/ExHdfsScan.cpp ---
@@ -571,6 +569,7 @@ ExWorkProcRetcode ExHdfsScanTcb::work()
hdfsScan_ = HdfsScan::newInstance((NAHeap *)getHeap(),
hdfsScanBuf_, hdfsScanBufMaxSize_,
hdfsScanTdb().hdfsIoByteArraySizeInKB_,
&hdfsFileInfoListAsArray_, beginRangeNum_,
numRanges_, hdfsScanTdb().rangeTailIOSize_,
+ isSequenceFile(),
hdfsScanTdb().recordDelimiter_,
--- End diff --
There is no need pass the record delimiter for text format because it is a
raw read of text formatted table. It should have the record delimiter as per
the hive metadata.
---