trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sureshsubbiah <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request: [TRAFODION-1575] Avoid transform...
Date Wed, 11 Nov 2015 15:49:02 GMT
Github user sureshsubbiah commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/167#discussion_r44546995
  
    --- Diff: core/sql/optimizer/BindRelExpr.cpp ---
    @@ -10543,26 +10543,19 @@ RelExpr *Update::bindNode(BindWA *bindWA)
     	{
     	  xnsfrmHbaseUpdate = TRUE;
     	}
    -      else if ((CmpCommon::getDefault(HBASE_TRANSFORM_UPDATE_TO_DELETE_INSERT) == DF_SYSTEM)
&&
    -	       (getTableDesc()->getNATable()->hasSecondaryIndexes()))
    -	{
    -	  xnsfrmHbaseUpdate = TRUE;
    -	}
    -      else if (avoidHalloween())
    -	{
    -	  xnsfrmHbaseUpdate = TRUE;
    -	}
           else if (getCheckConstraints().entries())
    -	{
    -	  xnsfrmHbaseUpdate = TRUE;
    -	}
    +       {
    --- End diff --
    
    I suppose the default attribute can be removed from nadefaults.cpp and DefaultConstants.h
also?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message