GitHub user dhatchayani opened a pull request:
https://github.com/apache/carbondata/pull/2549
[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#](https://github.com/apache/carbondata/pull/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?
- [ ] Any backward compatibility impacted?
- [ ] Document update required?
- [x] Testing done
UT added
- [ ] 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/dhatchayani/carbondata CARBONDATA-2606
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2549.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 #2549
----
commit 03643ce8a591689b5dec0c8eeed06d6eed67fcbe
Author: dhatchayani <dhatcha.official@...>
Date: 2018-07-24T13:27:41Z
[CARBONDATA-2606][Complex DataType Enhancements]Fix Null result if
projection column have null primitive column and struct
----
---