trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request: fix #JIRA 1449: missing end key.
Date Thu, 27 Aug 2015 15:31:04 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/66#discussion_r38109234
  
    --- Diff: core/sql/generator/GenPreCode.cpp ---
    @@ -170,12 +174,16 @@ static NABoolean processConstHBaseKeys(Generator * generator,
                skey->getIndexDesc()->getOrderOfKeyValues(),
                relExpr->getGroupAttr()->getCharacteristicInputs(),
                TRUE, /* forward scan */
    -           exePreds,
    +           keyPreds,
                nonKeyColumnSet,
                idesc,
                relExpr->getGroupAttr()->getCharacteristicOutputs(),
                mySearchKeys);
     
    +      // Include any remaining key predicates that have not been 
    +      // picked up (to be used as the HBase search keys).
    +      exePreds += keyPreds;
    --- End diff --
    
    So, is keyPreds side-effected by the HbaseSearchKey::makeHBaseSearchKeys call? Then it
might be different when added back.


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