carbondata
carbondata copied to clipboard
[CARBONDATA-1360] fix for update table failures for struct data type
Problem: updates not working for complex data type struct. escape characters used for internal delimiters was causing the update failures and null updates . Fix : escape characters used for internal delimiters was causing the update failures and null updates to fix this escape characters are replaced before update processing.
Be sure to do all of the following to help us incorporate your contribution quickly and easily:
-
[ ] Make sure the PR title is formatted like:
[CARBONDATA-<Jira issue #>] Description of pull request
-
[ ] Make sure tests pass via
mvn clean verify
. (Even better, enable Travis-CI on your fork and ensure the whole test matrix passes). -
[ ] Replace
<Jira issue #>
in the title with the actual Jira issue number, if there is one. -
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.
-
[ ] Testing done
Please provide details on - Whether new unit test cases have been added or why no new tests are required? - What manual testing you have done? - Any additional information to help reviewers in testing this change.
-
[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
Can one of the admins verify this patch?
Can one of the admins verify this patch?
Can one of the admins verify this patch?
retest this please
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/511/
SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1140/
Problem: updates not working for complex data type . Fix : escaspe characters used for internal demiliters was causing the update failures and null updates to fix this escaspe characters are replaced before update processing. Changes :1. added testcase to test update on complex struct data type with two level delimiters 2. fixed update failures for array and struct datatype 3. added testcase for update with array data type
Can one of the admins verify this patch?
pleas note - This PR has a dependency of PR 1101 to be merged first .
SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1286/
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1420/
retest this please
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3673/
Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/2433/
SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3506/
@ashwini-krishnakumar I met the same problem and raised a pr to fix this issue, please help to review PR#1962
retest this please
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3715/
Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/2475/
SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3517/
@ashwini-krishnakumar I run your test cases with my pr and all are passed too.
@ashwini-krishnakumar PR#1962 has been merged, I think it don't need to change CarbonScalaUtil.scala and just remain the test case.
Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3067/
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4311/
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/5199/
Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3989/
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/7136/
Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/5912/
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/63/
Build Failed with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8812/