GitHub user jianqiao opened a pull request:
Fix a problem in CopyGroupList + minor style fixes
This PR adjusts the implementation of `CopyGroupList::merge_contiguous()`
to handle some cases correctly.
E.g. let `R`be a split-row-store relation with integer attributes
`x`,`y`,`z`. It is expected that for query
SELECT x, y, z
`merge_contiguous()` merges all attributes into one `ContiguousAttrs` copy
group, with `bytes_to_copy` set to 12 (size of three integers).
It is also expected that for query
SELECT x, y, y
`merge_contiguous()` merges all attributes into two `ContiguousAttrs` copy
groups, one for `x, y` and one for the last `y`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-quickstep fix-copy-group
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #244
Author: Jianqiao Zhu <jianq...@cs.wisc.edu>
Fix a problem in CopyGroupList + minor style fixes.
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 infrastruct...@apache.org or file a JIRA ticket