Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CARBONDATA-2879] [CARBONDATA-2918] support sort scope for sdk and ma…
…ke sort column case insensitive problem:: [CARBONDATA-2879] 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 problem: [CARBONDATA-2918] Currently in CarbonWriterBuilder, sortColumnsList.indexOf(field.getFieldName()) return null due to case issue. so, one of the sortcolumns in array will be null. so one of the column schema becomes null, hence when column schema is accessed, we get NPE solution: Change pareant column (as sort column is supported only foro parent columns) name to lower case when schema received by the user and change sort columns also to lower case when received by the user. This closes #2692
- Loading branch information
1 parent
6e50c1c
commit f5c7a19
Showing
6 changed files
with
121 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters