Github user sandhyasun commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1612#discussion_r197893132
--- Diff: core/sql/exp/ExpLOBaccess.cpp ---
@@ -2161,10 +2267,37 @@ Ex_Lob_Error ExLob::readDataToMem(char *memAddr,
}
-
+ } // useLibHdfs_
if (!multipleChunks)
{
+ if (! useLibHdfs_) {
+ HDFS_Client_RetCode hdfsClientRetcode;
+ Int32 readLen;
--- End diff --
Shouldn't it use Int64 for readLen/ It's being copied into operLen.---
