commit | 9da42c495e84deb74c277e182e2e4b93bca8c129 | [log] [tgz] |
---|---|---|
author | Manhua <kevinjmh@qq.com> | Wed Jun 24 16:53:28 2020 +0800 |
committer | QiangCai <qiangcai@qq.com> | Tue Jun 30 10:17:53 2020 +0800 |
tree | 0cddd30d1a64438004a4b4b0d1707673ac929a7c | |
parent | 3908209b693e5bb04c18ca62324388727899d323 [diff] |
[CARBONDATA-3871] Optimize performance when getting row from heap Why is this PR needed? Currently carbon uses priority queue to sort holders of sorted rows. It first polls a holder from the heap, and adds it back if holder is not empty. This will cause two times heap maintainance. We can reduce half of that operation, and test shows it can save one third of time to get rows . What changes were proposed in this PR? What will be done when poll item from priority queue currently is: 1. remove first item. 2. move the last item to the position of first item, siftDown the new first item. In this patch, we will peek(without removing from heap) the first item and get a row, and siftDown the holder to a proper position if the holder is not empty. Since this will affect order of non-sorted columns, it depends on #3813 Does this PR introduce any user interface change? No Is any new testcase added? No This closes #3804
Apache CarbonData is an indexed columnar data store solution for fast analytics on big data platform, e.g.Apache Hadoop, Apache Spark, etc.
You can find the latest CarbonData document and learn more at: http://carbondata.apache.org
CarbonData file format is a columnar store in HDFS, it has many features that a modern columnar format has, such as splittable, compression schema ,complex data type etc, and CarbonData has following unique features:
CarbonData is built using Apache Maven, to build CarbonData
Some features are marked as experimental because the syntax/implementation might change in the future.
This is an active open source project for everyone, and we are always open to people who want to use this system or contribute to it. This guide document introduce how to contribute to CarbonData.
To get involved in CarbonData:
Apache CarbonData is an open source project of The Apache Software Foundation (ASF).