GitHub user ajantha-bhat opened a pull request:
https://github.com/apache/carbondata/pull/2692
[CARBONDATA-2879] support sort scope for sdk
**problem:**: SDK doesn't support batch sort and no sort as we don't have
any API support for sort scope
**Solution**: provide sort_scope in existing load_options, so user can
decide which sort_scope.
**currently supported batch_sort, local_sort and no_sort.**
global sort is not applicable in sdk scenario. Hence not supported.
Updated the method header and doc also
Be sure to do all of the following checklists to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed? NA
- [ ] Any backward compatibility impacted? NA
- [ ] Document update required? yes, updated.
- [ ] Testing done.
Added UT
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA. NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ajantha-bhat/carbondata sdk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2692.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 #2692
----
commit 16d3e68e4b315ea0b36bbb39b332c1a83c1027c1
Author: ajantha-bhat <ajanthabhat@...>
Date: 2018-09-04T09:25:47Z
sort scope support for sdk
----
---