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

[GitHub] carbondata pull request #2570: [wip]disable local dictionary by default

GitHub user akashrn5 opened a pull request:

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

    [wip]disable local dictionary by default

    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?
    
     - [ ] 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.
           
     - [ ] 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/akashrn5/incubator-carbondata local_default_false

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

    https://github.com/apache/carbondata/pull/2570.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 #2570
    
----
commit e0c10c5d3bf837278518a259618fe7dee8817564
Author: akashrn5 <ak...@...>
Date:   2018-07-27T07:01:48Z

    disable local dictionary by default

----


---

[GitHub] carbondata pull request #2570: [CARBONDATA-2585]disable local dictionary by ...

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

    https://github.com/apache/carbondata/pull/2570#discussion_r206196206
  
    --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/localdictionary/LocalDictionarySupportCreateTableTest.scala ---
    @@ -1575,7 +1571,7 @@ class LocalDictionarySupportCreateTableTest extends QueryTest with BeforeAndAfte
         val descLoc = sql("describe formatted local1").collect
     
         descLoc.find(_.get(0).toString.contains("Local Dictionary Enabled")) match {
    -      case Some(row) => assert(row.get(1).toString.contains("true"))
    +      case Some(row) => assert(row.get(1).toString.contains("false"))
    --- End diff --
    
    
    akashrn5 just now  Contributor
    this scenario is already covered


---

[GitHub] carbondata pull request #2570: [CARBONDATA-2585]disable local dictionary by ...

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

    https://github.com/apache/carbondata/pull/2570#discussion_r206196432
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java ---
    @@ -929,7 +929,7 @@
       /**
        * default value for local dictionary generation
        */
    -  public static final String LOCAL_DICTIONARY_ENABLE_DEFAULT = "true";
    --- End diff --
    
    ok


---

[GitHub] carbondata pull request #2570: [wip]disable local dictionary by default

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

    https://github.com/apache/carbondata/pull/2570#discussion_r205684804
  
    --- Diff: integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/CreateTableWithLocalDictionaryTestCase.scala ---
    @@ -28,7 +28,7 @@ class CreateTableWithLocalDictionaryTestCase extends QueryTest with BeforeAndAft
         sql("DROP TABLE IF EXISTS LOCAL1")
       }
     
    -  test("test local dictionary default configuration") {
    +   test("test local dictionary default configuration") {
    --- End diff --
    
    remove the extra space.


---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

    https://github.com/apache/carbondata/pull/2570
  
    LGTM


---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata pull request #2570: [CARBONDATA-2585]disable local dictionary by ...

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

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


---

[GitHub] carbondata pull request #2570: [wip]disable local dictionary by default

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

    https://github.com/apache/carbondata/pull/2570#discussion_r205686883
  
    --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/localdictionary/LocalDictionarySupportCreateTableTest.scala ---
    @@ -1554,7 +1550,7 @@ class LocalDictionarySupportCreateTableTest extends QueryTest with BeforeAndAfte
         val descLoc = sql("describe formatted local1").collect
     
         descLoc.find(_.get(0).toString.contains("Local Dictionary Enabled")) match {
    -      case Some(row) => assert(row.get(1).toString.contains("true"))
    +      case Some(row) => assert(row.get(1).toString.contains("false"))
    --- End diff --
    
    If local dictionary is disabled here, it will be the same as previous test case. Can you make it true and add other properties like local_dictionary_threshold or local_dictionary_include, etc. 


---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

    https://github.com/apache/carbondata/pull/2570
  
    retest sdv please


---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata pull request #2570: [wip]disable local dictionary by default

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

    https://github.com/apache/carbondata/pull/2570#discussion_r205687209
  
    --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/localdictionary/LocalDictionarySupportCreateTableTest.scala ---
    @@ -1575,7 +1571,7 @@ class LocalDictionarySupportCreateTableTest extends QueryTest with BeforeAndAfte
         val descLoc = sql("describe formatted local1").collect
     
         descLoc.find(_.get(0).toString.contains("Local Dictionary Enabled")) match {
    -      case Some(row) => assert(row.get(1).toString.contains("true"))
    +      case Some(row) => assert(row.get(1).toString.contains("false"))
    --- End diff --
    
    If local dictionary is disabled here, it will be the same as previous test case. Can you make it true and add other properties like local_dictionary_threshold or local_dictionary_include, etc.


---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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


---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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


---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

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



---

[GitHub] carbondata pull request #2570: [CARBONDATA-2585]disable local dictionary by ...

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

    https://github.com/apache/carbondata/pull/2570#discussion_r206196113
  
    --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/localdictionary/LocalDictionarySupportCreateTableTest.scala ---
    @@ -1554,7 +1550,7 @@ class LocalDictionarySupportCreateTableTest extends QueryTest with BeforeAndAfte
         val descLoc = sql("describe formatted local1").collect
     
         descLoc.find(_.get(0).toString.contains("Local Dictionary Enabled")) match {
    -      case Some(row) => assert(row.get(1).toString.contains("true"))
    +      case Some(row) => assert(row.get(1).toString.contains("false"))
    --- End diff --
    
    this scenario is already covered


---

[GitHub] carbondata issue #2570: [wip]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

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



---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

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



---

[GitHub] carbondata pull request #2570: [wip]disable local dictionary by default

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

    https://github.com/apache/carbondata/pull/2570#discussion_r206146016
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java ---
    @@ -929,7 +929,7 @@
       /**
        * default value for local dictionary generation
        */
    -  public static final String LOCAL_DICTIONARY_ENABLE_DEFAULT = "true";
    --- End diff --
    
    Please correct the documentation also as default value as false


---

[GitHub] carbondata issue #2570: [CARBONDATA-2585]disable local dictionary by default

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

    https://github.com/apache/carbondata/pull/2570
  
    retest sdv please


---