GitHub user ajantha-bhat opened a pull request:
https://github.com/apache/carbondata/pull/2559
[CARBONDATA-2606][Complex DataType Enhancements]Fix Null result if
projection column have null primitive column and struct
Problem:
In case if the actual value of the primitive data type is null, by PR#2489,
we are moving all the null values to the end of the collected row without
considering the data type.
Solution:
Place null in the end of output iff the null value is of complex primitive
column.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed? NA
- [ ] Any backward compatibility impacted?NA
- [ ] Document update required?NA
- [ ] Testing done
updated UT
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ajantha-bhat/carbondata master_doc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2559.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 #2559
----
commit 7af27b66fb1491f5ac7f9bf155723289d39ad7b0
Author: ajantha-bhat <ajanthabhat@...>
Date: 2018-07-25T13:51:02Z
[CARBONDATA-2606][Complex DataType Enhancements] Fix Null result if
projection column have null primitive column and struct
----
---