commit | ebbecb5285ad4272022b9cd7b2c23406b277987c | [log] [tgz] |
---|---|---|
author | ajantha-bhat <ajanthabhat@gmail.com> | Mon Mar 30 19:08:25 2020 +0530 |
committer | Jacky Li <jacky.likun@qq.com> | Fri Apr 10 21:41:13 2020 +0800 |
tree | 57df538c59fcfccc99130bb80018d54f9c99e54d | |
parent | 5666973c21cb415df10cd35d20e245763bb67ad1 [diff] |
[CARBONDATA-3761] Remove redundant conversion for complex type insert Why is this PR needed? In PrimitiveDataType#writeByteArray DataTypeUtil.parseValue(**input.toString()**, carbonDimension) Here we convert every complex child element to string and then parse as an object to handle bad records. Which leads to heavy GC DatatypeUtil#getBytesDataDataTypeForNoDictionaryColumn -> double,float, byte, decimal case is missing. so we convert them to string and then convert to bytes. which create more redundant objects What changes were proposed in this PR? For new Insert into flow, no need to handle bad records for complex types as it is already validated in source table. So, use object directly. This can decrease the memory foot print for complex type insert Add a case for double,float, byte, decimal data type. Does this PR introduce any user interface change? No Is any new testcase added? No This closes #3687
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).