commit | 21110cd2e053e6da2a9e4341eb2fc870b3b75563 | [log] [tgz] |
---|---|---|
author | Zhangshunyu <zhangshunyu1990@126.com> | Sun Feb 09 22:04:48 2020 +0800 |
committer | Jacky Li <jacky.likun@qq.com> | Thu Mar 05 11:17:57 2020 +0800 |
tree | 614ad19a3ca9546d317832f4ee510b3bb70d195c | |
parent | 6833af68834edb6f6463be14cb9c531ffb57b79a [diff] |
[CARBONDATA-3721][CARBONDATA-3590] Optimize Bucket Table Why is this PR needed? Support Bucket Table consistent with spark to improve the join performance by avoid shuffle for bucket column. The same time, fix bugs about load/compact query of bucket. What changes were proposed in this PR? Support Bucket Table and consistent with spark to improve the join performance by avoid shuffle for bucket column. Fix bugs also. 1. For create table, ddl support both tblproperties and clustered by like hive. 2. For loading, fix some problems in loading when bucket column specified, make it clusterd into diff files based on bucket column. 3. For query, the hash impl should either keep the same for a given value or keep same with parquet table, so that the join result of diff bucket tables give correct result. By the way, the hash impl is configurable. 4. For compaction, group the block files based on bucket id, the data should hash into diff carbondata files also, otherwise the query flow will group the files based on bucket num, all data compacted will com into 1 partition and the join result will mismatch, the performace will very slow. 5. For tests, add 19 test cases in TableBucketingTestCase Does this PR introduce any user interface change? No Is any new testcase added? Yes This closes #3637
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
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).