Github user zellerh commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/946#discussion_r100202964
--- Diff: core/sql/generator/GenRelUpdate.cpp ---
@@ -2844,8 +2848,8 @@ short HbaseInsert::codeGen(Generator *generator)
(noCheck()))
hbasescan_tdb->setHbaseSqlIUD(FALSE);
- if (((getInsertType() == Insert::VSBB_INSERT_USER) &&
- generator->oltOptInfo()->multipleRowsReturned()) ||
+ if (((((getInsertType() == Insert::VSBB_INSERT_USER) || isUpsert()
)&&
+ generator->oltOptInfo()->multipleRowsReturned())) ||
--- End diff --
A nit, there is an unnecessary pair of parentheses at the beginning of line
2851 and the end of line 2852.
---
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.
---