Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/913#discussion_r96699057
--- Diff: core/sql/optimizer/BindRelExpr.cpp ---
@@ -13445,6 +13435,14 @@ RelExpr * GenericUpdate::bindNode(BindWA *bindWA)
if (getOperatorType() == REL_UNARY_UPDATE ||
getOperatorType() == REL_UNARY_DELETE) {
+ if (getTableDesc()->getNATable()->isHiveTable())
+ {
+ *CmpCommon::diags() << DgSqlCode(-4223)
+ << DgString0("Update/Delete on Hive table is");
+ bindWA->setErrStatus();
+ return this;
+ }
+
--- End diff --
I'm curious why this change was made. Do we support other kinds of delete
and update operations on Hive tables?
---
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.
---