You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by xuchuanyin <gi...@git.apache.org> on 2018/07/23 03:34:06 UTC

[GitHub] carbondata pull request #2537: [CARBONDATA-2768][CarbonStore] Fix error in t...

GitHub user xuchuanyin opened a pull request:

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

    [CARBONDATA-2768][CarbonStore] Fix error in tests for external csv format

    In previous implementation earlier than PR2495, we only supportted csv as
    external format for carbondata. And we validated the restriction while
    creating the table.PR2495 added kafka support, so it removed the
    validation, but it did not fix the related test case which cause failure in current version.
    This PR fix the error test case.
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [x] Any interfaces changed?
     `NO`
     - [x] Any backward compatibility impacted?
     `NO`
     - [x] Document update required?
    `NO`
     - [x] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests are required?
    `Tests updated`
            - How it is tested? Please attach test report.
    `Tested in local`
            - Is it a performance related change? Please attach the performance test report.
    `NO`
            - Any additional information to help reviewers in testing this change.
           `NA`
     - [x] 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/xuchuanyin/carbondata 0723_fix_tests

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

    https://github.com/apache/carbondata/pull/2537.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 #2537
    
----
commit a1ce8a15f1d3b2a1b4173137694a064cd7c04cb5
Author: xuchuanyin <xu...@...>
Date:   2018-07-23T03:09:54Z

    Fix error in tests for external csv format
    
    In previous implementation earlier than PR2495, we only supportted csv as
    external format for carbondata. And we validated the restriction while
    creating the table.PR2495 added kafka support, so it removed the
    validation, but it did not fix the related test case which cause
    test failure in current version.
    This PR fix the error test case.

----


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata pull request #2537: [CARBONDATA-2768][CarbonStore] Fix error in t...

Posted by xuchuanyin <gi...@git.apache.org>.
Github user xuchuanyin commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2537#discussion_r204613470
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/statusmanager/FileFormatProperties.java ---
    @@ -17,10 +17,19 @@
     
     package org.apache.carbondata.core.statusmanager;
     
    +import java.util.HashSet;
    +import java.util.Set;
    +
     /**
      * Provides the constant name for the file format properties
      */
     public class FileFormatProperties {
    +  public static Set<String> SUPPORTED_EXTERNAL_FORMAT = new HashSet<String>() {
    --- End diff --
    
    OK


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata pull request #2537: [CARBONDATA-2768][CarbonStore] Fix error in t...

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2537#discussion_r204610009
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/statusmanager/FileFormatProperties.java ---
    @@ -17,10 +17,19 @@
     
     package org.apache.carbondata.core.statusmanager;
     
    +import java.util.HashSet;
    +import java.util.Set;
    +
     /**
      * Provides the constant name for the file format properties
      */
     public class FileFormatProperties {
    +  public static Set<String> SUPPORTED_EXTERNAL_FORMAT = new HashSet<String>() {
    --- End diff --
    
    better to make it private and provide function to validate whether user input format is supported


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

    https://github.com/apache/carbondata/pull/2537
  
    LGTM
    merged into external-format


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata pull request #2537: [CARBONDATA-2768][CarbonStore] Fix error in t...

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

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


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata pull request #2537: [CARBONDATA-2768][CarbonStore] Fix error in t...

Posted by xuchuanyin <gi...@git.apache.org>.
Github user xuchuanyin commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2537#discussion_r204612717
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/statusmanager/FileFormatProperties.java ---
    @@ -17,10 +17,19 @@
     
     package org.apache.carbondata.core.statusmanager;
     
    +import java.util.HashSet;
    +import java.util.Set;
    +
     /**
      * Provides the constant name for the file format properties
      */
     public class FileFormatProperties {
    +  public static Set<String> SUPPORTED_EXTERNAL_FORMAT = new HashSet<String>() {
    --- End diff --
    
    OK


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

    https://github.com/apache/carbondata/pull/2537
  
    please raise to external-format branch


---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---

[GitHub] carbondata issue #2537: [CARBONDATA-2768][CarbonStore] Fix error in tests fo...

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

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



---