trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sureshsubbiah <>
Subject [GitHub] incubator-trafodion pull request #946: TRAFODION-1562 Enable Vsbb upsert for...
Date Wed, 08 Feb 2017 00:05:53 GMT
Github user sureshsubbiah commented on a diff in the pull request:
    --- Diff: core/sql/executor/ExHbaseIUD.cpp ---
    @@ -912,8 +912,22 @@ ExWorkProcRetcode ExHbaseAccessUpsertVsbbSQTcb::work()
    -	    matches_++;
    +            // temp code below.WIll remove the envvar after this
    +            //has got enough exposure in  testing.
    +            if (getenv("TURN_OFF_RETURNROW")) 
    --- End diff --
    Please consider removing this. From what I can tell from Google, getenv will have a performance
impact, Particularly when called so often (once per row?). A cqd or COMP_BOOL can be used
to tun feature of temporarily. If a runtime toggle is needed, maybe we call getenv at the
top somewhere and store the value in a local variable.

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

View raw message