GitHub user shivamasn opened a pull request: https://github.com/apache/carbondata/pull/2983
[CARBONDATA-3119] Fixed SDK Write for Complex Array Type when Array is Empty ### What was the issue? For SDK Write , it was going into bad record by returning null on passing empty array for Complex Type. ### What has been changed? Added a check for empty array. This will return an empty array. - [ ] Any interfaces changed? NA - [ ] Any backward compatibility impacted? NA - [ ] Document update required? NA - [ ] Testing done Please provide details on - Whether new unit test cases have been added or why no new tests are required? - How it is tested? Please attach test report. - Is it a performance related change? Please attach the performance test report. - Any additional information to help reviewers in testing this change. Test case added - [ ] 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/shivamasn/carbondata complex_issue Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/2983.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 #2983 ---- commit a81911b32aa7b586a5ae0c8d206d16fb8921c6fa Author: namanrastogi <naman.rastogi.52@...> Date: 2018-12-10T13:34:43Z Complex Type Empty String Issue Fixed ---- ---