GitHub user selvaganesang reopened a pull request:

    https://github.com/apache/incubator-trafodion/pull/340

    [TRAFODION-1700] Upsert with omitted default value columns leave the …

    …aligned format table in corrupted state.
    
    [TRAFODION-1847] Upsert with omitted timestamp columns having 
current_timestamp as default in a non-aligned format
    table returns wrong value for this column
    
    For TRAFODION-1847, the upsert is transformed into merge.
    For TRAFODION-1700, the upsert is transformed into merge when the CQD
    TRAF_UPSERT_WITH_INSERT_DEFAULT_SEMANTICS is set to OFF. By default this 
CQD is
    set to OFF. When this CQD is ON, the upsert will add a new row with the 
omitted
    columns filled with default values always.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/selvaganesang/incubator-trafodion 
trafodion-1700_2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/340.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #340
    
----
commit a8210ea0fb73d63b244003d945fdcd00617346cd
Author: selvaganesang <[email protected]>
Date:   2016-02-25T18:12:44Z

    [TRAFODION-1700] Upsert with omitted default value columns leave the 
aligned format table in corrupted state.
    [TRAFODION-1847] Upsert with omitted timestamp columns having 
current_timestamp as default in a non-aligned format
    table returns wrong value for this column
    
    For TRAFODION-1847, the upsert is transformed into merge.
    For TRAFODION-1700, the upsert is transformed into merge when the CQD
    TRAF_UPSERT_WITH_INSERT_DEFAULT_SEMANTICS is set to OFF. By default this 
CQD is
    set to OFF. When this CQD is ON, the upsert will add a new row with the 
omitted
    columns filled with default values always.

----


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

Reply via email to