trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandhyasun <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #946: TRAFODION-1562 Enable Vsbb upsert for...
Date Wed, 08 Feb 2017 04:54:00 GMT
Github user sandhyasun commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/946#discussion_r99991836
  
    --- Diff: core/sql/executor/ExHbaseIUD.cpp ---
    @@ -924,6 +938,58 @@ ExWorkProcRetcode ExHbaseAccessUpsertVsbbSQTcb::work()
     	  }
     	  break;
     
    +        case RETURN_ROW:
    +          {
    +            if (qparent_.up->isFull())
    +	      return WORK_OK;
    +	   
    +	    if (returnUpdateExpr())
    +	      {
    +		ex_queue_entry * up_entry = qparent_.up->getTailEntry();
    +
    +	 	// allocate tupps where returned rows will be created
    +                if (allocateUpEntryTupps(
    +                         -1,
    +                         0,
    +                         hbaseAccessTdb().returnedTuppIndex_,
    +                         hbaseAccessTdb().returnUpdatedRowLen_,
    +                         FALSE,
    +                         &rc))
    +              return rc;
    --- End diff --
    
    Sorry about that. I'll definitely fix all the indentation.


---
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