GitHub user Weixin-Xu opened a pull request:

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

    [TRAFODION-2346] ODB copy incorrect rows when using rowset and parallel

    fix jira TRAFODION-2346 and TRAFODION-2373 bug as follows:
    When using parallel, max rows/ parallel will cause rows cutting because of 
divisibility.
    When using rowset, per thread rows/rowset will cause one more round 
contained the same rowset.
    For example, rows = 5000 ,max = 500000 ,parallel = 6 :
    per thread rows(size_t) = max rows / parallel = 500000 / 6 = 83333
    round = per thread rows / rowset = 83333 / 5000 = 16 (actually do one more 
round)
    Finally , 5000 * 17 * 6 = 510000 rows will be load and copy

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

    $ git pull https://github.com/Weixin-Xu/incubator-trafodion odbtest

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

    https://github.com/apache/incubator-trafodion/pull/1121.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 #1121
    
----
commit 0abe062c2ce5150ab36344434129d9864c9fea3f
Author: Weixin Xu <[email protected]>
Date:   2017-06-16T02:44:53Z

    [TRAFODION-2346] ODB copy incorrect rows when using rowset and parallel

----


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