GitHub user xubo245 opened a pull request:
https://github.com/apache/carbondata/pull/2792
[CARBONDATA-2981] Support read primitive data type in CSDK
[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>
3.1 return int when read date
3.2 return long when read timestamp
3.3 return string when read varchar
3.4 return string when read decimal
3.5 support array<string>
This PR is based on PR2738, and will remove related commit after PR2738
merged.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?
add new interface
- [ ] Any backward compatibility impacted?
No
- [ ] Document update required?
Yes
- [ ] Testing done
update test case in c code
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
jira 2951
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xubo245/carbondata
CARBONDATA-2981_primitiveDataType
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2792.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 #2792
----
commit 5f93bfc999dc7309671d59b1e73e4085d2684d58
Author: xubo245 <xubo29@...>
Date: 2018-09-20T10:35:34Z
[CARBONDATA-2952] Provide CarbonReader C++ interface for SDK
1.init carbonreader,config data path and tablename
2.config ak sk endpoing for S3
3.configure projection
4.build carbon reader
5.hasNext
6.readNextRow
7.close
optimize
commit cd181b91c33d32e66a3f0026f1e3167a148b37e7
Author: xubo245 <xubo29@...>
Date: 2018-09-29T09:06:03Z
[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>
su
----
---