Github user SuJinpei commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1425#discussion_r166286068
--- Diff: core/conn/odb/src/odb.c ---
@@ -10867,7 +10874,7 @@ static int Ocopy(int eid)
}
/* Build Extract Command */
- if ( etab[eid].ps ) {
+ if ( etab[eid].ps > 1 ) {
--- End diff --
This change will address the bug because the default ps == 0 in fact means
ps == 1, so odb ought to go default branch if ps == 1.
---
