commit | b4fb3f801aa74c7e83c30b4603f847ac4bb1189d | [log] [tgz] |
---|---|---|
author | Jacky Li <jacky.likun@qq.com> | Fri Feb 28 14:39:58 2020 +0800 |
committer | liuzhi <371684521@qq.com> | Mon Mar 09 15:46:35 2020 +0800 |
tree | 8972789cbcab37f7fcd4f131ce8732e06449a4b0 | |
parent | ce999e15dc6500d6c2566a338b6633ae8a10f327 [diff] |
[CARBONDATA-3726] Add CDC and Data Dedup example Why is this PR needed? Change Data Capture and Data Duplication is common tasks for data management, we should add examples for user to reference We can leverage CarbonData's Merge API to implement these use cases What changes were proposed in this PR? 1.Two examples are added 2.A performance improvement: earlier carbon always use 'full_outer' join to do Merge, in this PR we decide Join type based on match condition 3.Make auditor enable dynamically, user can disable it. The output of CDCExample as following. By default in the example, target table has 200,000 rows and each change batch contains 9000 rows update, 1000 rows insert and 1000 rows delete start CDC example using hive solution generating target table...done! 10.43 s applying change batch1...done! 5.94 s applying change batch2...done! 3.99 s applying change batch3...done! 3.58 s applying change batch4...done! 3.31 s applying change batch5...done! 3.22 s applying change batch6...done! 4.31 s applying change batch7...done! 5.00 s applying change batch8...done! 4.02 s applying change batch9...done! 5.88 s applying change batch10...done! 5.33 s total update takes 44.59 s total query takes 1.33 s start CDC example using carbon solution generating target table...done! 10.03 s applying change batch1...done! 4.48 s applying change batch2...done! 2.35 s applying change batch3...done! 2.00 s applying change batch4...done! 1.99 s applying change batch5...done! 1.80 s applying change batch6...done! 1.81 s applying change batch7...done! 1.59 s applying change batch8...done! 1.70 s applying change batch9...done! 1.74 s applying change batch10...done! 1.70 s total update takes 21.18 s total query takes 0.81 s Does this PR introduce any user interface change? No Is any new testcase added? No This closes #3643
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).