commit | 1052bf6529ed8fa4328ee247ce94e64513ee745f | [log] [tgz] |
---|---|---|
author | jack86596 <jack86596@gmail.com> | Wed Mar 11 15:36:45 2020 +0800 |
committer | ajantha-bhat <ajanthabhat@gmail.com> | Wed Apr 01 12:35:58 2020 +0530 |
tree | 23bd4bc728696919df0f84afc15720b23ed4ab9b | |
parent | dc77027cba5643b9c228668acd306fee3a0a7517 [diff] |
[CARBONDATA-3740] Add line separator option to load command to configure the line separator during csv parsing. Why is this PR needed? Sometime univocity parser will detect the line separator incorrectly. In this case, user should be able to set line separator explicitly. Issue: During loading, if in the first line, there is one field has a '\r' character and this '\r' appears before the first '\n', line separator detection will treat '\r' as line separator. This is not the intention. Example: Data file has two lines, ^M is '\r': 1,2^M,3 4,5,6 After loading, The records in table will be: | 1 | 2 | null | | null | 3 4 | 5 | Correct should be: | 1 | 2^M | 3 | | 4 | 5 | 6 | What changes were proposed in this PR? Allow user to specify line separator explicitly in load command, add one new option to load command named "line_separator". Does this PR introduce any user interface change? Yes. New load option "line_separator" is added. Is any new testcase added? Yes. This closes #3664
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).