Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1612#discussion_r197980387
--- Diff: core/sql/executor/ExHdfsScan.cpp ---
@@ -374,10 +375,9 @@ ex_tcb_private_state *ExHdfsScanTcb::allocatePstates(
Int32 ExHdfsScanTcb::fixup()
{
lobGlob_ = NULL;
-
- ExpLOBinterfaceInit
- (lobGlob_, (NAHeap
*)getGlobals()->getDefaultHeap(),getGlobals()->castToExExeStmtGlobals()->getContext(),TRUE,
hdfsScanTdb().hostName_,hdfsScanTdb().port_);
-
+ lobGlob_ = ExpLOBoper::initLOBglobal((NAHeap
*)getGlobals()->getDefaultHeap(),
+
getGlobals()->castToExExeStmtGlobals()->getContext(),
+ useLibhdfsScan_);
--- End diff --
Yes. Found the problem isHiveRead is not passed through the new methods.
Fixing it to ensure that use_libhdfs 'on' works for hdfs scan
---