You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ashwini-krishnakumar <gi...@git.apache.org> on 2017/09/27 13:17:51 UTC

[GitHub] carbondata pull request #1390: [CARBONDATA-1360] fix for update table failur...

GitHub user ashwini-krishnakumar opened a pull request:

    https://github.com/apache/carbondata/pull/1390

    [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](https://www.apache.org/licenses/icla.txt).
     - [ ] 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. 
                     
    ---


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ashwini-krishnakumar/carbondata master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1390.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 #1390
    
----
commit a673348d142563b3cb95ab615ad01cd242b6c543
Author: ashwini-krishnakumar <as...@gmail.com>
Date:   2017-09-27T12:31:08Z

    [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 demiliters was causing the update failures and null updates .
    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.

----


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/7136/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/5912/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by zzcclp <gi...@git.apache.org>.
Github user zzcclp commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    @ashwini-krishnakumar I run your test cases with my pr and all are passed too.


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/2015/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/511/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Can one of the admins verify this patch?


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8866/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3989/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ashwini-krishnakumar <gi...@git.apache.org>.
Github user ashwini-krishnakumar commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    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


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Can one of the admins verify this patch?


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1420/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3517/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ashwini-krishnakumar <gi...@git.apache.org>.
Github user ashwini-krishnakumar commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    retest this please 


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3067/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/2192/



---

[GitHub] carbondata pull request #1390: [CARBONDATA-1360] fix for update table failur...

Posted by ashwini-krishnakumar <gi...@git.apache.org>.
Github user ashwini-krishnakumar closed the pull request at:

    https://github.com/apache/carbondata/pull/1390


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3715/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/745/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed  with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/10267/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3506/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/2433/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Can one of the admins verify this patch?


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by zzcclp <gi...@git.apache.org>.
Github user zzcclp commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    @ashwini-krishnakumar I met the same problem  and raised a pr to fix this issue, please help to review [PR#1962](https://github.com/apache/carbondata/pull/1962)


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3673/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/567/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/5199/



---

[GitHub] carbondata pull request #1390: [CARBONDATA-1360] fix for update table failur...

Posted by ashwini-krishnakumar <gi...@git.apache.org>.
GitHub user ashwini-krishnakumar reopened a pull request:

    https://github.com/apache/carbondata/pull/1390

    [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](https://www.apache.org/licenses/icla.txt).
     - [ ] 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. 
                     
    ---


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ashwini-krishnakumar/carbondata master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1390.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 #1390
    
----
commit 372bfe0be937c805c7c165865391e9309d56dd34
Author: ashwini-krishnakumar <as...@gmail.com>
Date:   2017-09-27T12:31:08Z

    [CARBONDATA-1360] fix for update table failures for struct data type
    
    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

----


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by zzcclp <gi...@git.apache.org>.
Github user zzcclp commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    @ashwini-krishnakumar [PR#1962](https://github.com/apache/carbondata/pull/1962) has been merged, I think it don't need to change  CarbonScalaUtil.scala and just remain the test case.


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/2475/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ashwini-krishnakumar <gi...@git.apache.org>.
Github user ashwini-krishnakumar commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    retest this please 


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1286/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Can one of the admins verify this patch?


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4311/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ashwini-krishnakumar <gi...@git.apache.org>.
Github user ashwini-krishnakumar commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    pleas note - This PR has a dependency of PR 1101 to be merged first .


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    retest this please


---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1140/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/63/



---

[GitHub] carbondata issue #1390: [CARBONDATA-1360] fix for update table failures for ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1390
  
    Build Failed  with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8812/



---