Github user traflm commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/461#discussion_r62136119
--- Diff: core/sql/generator/GenRelScan.cpp ---
@@ -880,6 +884,12 @@ short FileScan::codeGenForHive(Generator * generator)
} // for (ii = 0; ii < hdfsVals; ii++)
+ UInt32 hiveScanMode = CmpCommon::getDefaultLong(HIVE_SCAN_SPECIAL_MODE);
+ //enhance pCode to handle this mode in the future
+ //this is for JIRA 1920
+ if((hiveScanMode & 2 ) > 0) //if HIVE_SCAN_SPECIAL_MODE is 2, disable
pCode
+ exp_gen->setPCodeMode(ex_expr::PCODE_NONE);
+
--- End diff --
I agree that will be much better. I need to understand that part further, a
simple change cannot work, I need to debug more on this.
---
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.
---