GitHub user xubo245 opened a pull request:
https://github.com/apache/carbondata/pull/2837
[CARBONDATA-3000] Provide C++ interface for writing carbon data in CSDK
[CARBONDATA-3000] Provide C++ interface for writing carbon data in CSDK
1.suport string, short, int, long, double, float, array<string>,
boolean data type
2.provide builder, build, write, close interface
This PR base on https://github.com/apache/carbondata/pull/2792 and
https://github.com/apache/carbondata/pull/2816, and cherry its commits to this
PR. this PR will remove its commits after it's merged
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?
add C++interface
- [ ] Any backward compatibility impacted?
No
- [ ] Document update required?
Yes
- [ ] Testing done
add some test case
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
https://issues.apache.org/jira/browse/CARBONDATA-2951
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xubo245/carbondata CARBONDATA-3000_writeData
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2837.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2837
----
commit d37f2c3962918d559ef29349e1adb2585581a8c7
Author: xubo245 <xubo29@...>
Date: 2018-10-09T09:58:48Z
[CARBONDATA-2981] Support read primitive data type in CSDK
1.support readNextCarbonRow
2.support read different primitive data type in c code from
java side: int double short long string
3.support some data type and convert: date timestamp varchar
decimal array<T>
4.remove readNextStringRow
remove the file after finished run
change the file
remove timestamp check
commit 673d8aab13546782e71cf8a00f6039d9d687931e
Author: xubo245 <xubo29@...>
Date: 2018-10-16T03:02:07Z
[CARBONDATA-300] Suppor read batch row in CSDK
1. support read batch row in SDK
2. support read batch row in CSDK
3. add SDKReaderBenchmark IN SDK and testNextBatchRowPerformance in CSDK
4. improve CSDK read performance
support S3 in main
fix error
add test case
optimize
release object
optimize
commit 5a6def5f4d698ff5c138f23773c16dbcd6585f78
Author: xubo245 <xubo29@...>
Date: 2018-10-19T07:40:04Z
[CARBONDATA-3000] Provide C++ interface for writing carbon data in CSDK
1.suport string, short, int, long, double, float, array<string>, boolean
data type
2.provide builder, build, write, close interface
3.TODO: support S3
----
---