commit | 2ebc0413ee03645659e49b8c4d41969ee444b9aa | [log] [tgz] |
---|---|---|
author | Indhumathi27 <indhumathim27@gmail.com> | Fri Jul 26 16:51:32 2019 +0530 |
committer | kumarvishal09 <kumarvishal1802@gmail.com> | Fri Aug 02 12:59:45 2019 +0530 |
tree | 146080794415b9800a65a29eed9cc5192af30dc2 | |
parent | 917e041439282985ec28ff89249db6088e6771df [diff] |
[CARBONDATA-3478]Fix ArrayIndexOutOfBound Exception on compaction after alter operation Problem: In case of alter add, drop, rename operation, restructuredBlockExists will be true. Currently, to get RawResultIterator for a block, we check if block has ColumnDrift or not, by comparing SegmentProperties and columndrift columns. SegmentProperties will be formed based on restructuredBlockExists. if restructuredBlockExists is true, we will take current column schema to form SegmentProperties, else, we will use datafilefooter columnschema to form SegmentProperties. In the example given in CARBONDATA-3478 for both blocks, we use current column schema to form SegmentProperties, as restructuredBlockExists will be true. Hence, while iterating block 1, it throws ArrayIndexOutOfBound exception, as it uses RawResultIterator instead of ColumnDriftRawResultIterator Solution: Use schema from datafilefooter of each block to check if it has columndrift or not This closes #3337
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).