GitHub user jianqiao opened a pull request:
Add ThreadPrivateCompactKeyHashTable for aggregation.
This PR implements a new specialized aggregation hash table that is
preferable for two-phase (i.e. aggregate locally and then merge) aggregation
with small-cardinality group-by keys. To use this hash table, it also requires
that the group-by keys have fixed-length types with total byte size no greater
than 8 (so that each composite key can be packed into a 64-bit QWORD).
This PR together with #237 can improve the performance TPC-H Q01 from
~11.5s to ~5.3s, with scale factor 100 on a cloud lab machine.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jianqiao/incubator-quickstep
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 #239
Author: Jianqiao Zhu <jianq...@cs.wisc.edu>
Add ThreadPrivateCompactKeyHashTable as a fast path data structure for
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