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

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
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 <akashnilugal@...>
Date:   2018-07-27T07:01:48Z

    disable local dictionary by default

----


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
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.


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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.


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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.


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user akashrn5 commented on the issue:

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


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user akashrn5 commented on the issue:

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


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user akashrn5 commented on the issue:

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


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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/



---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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


---
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
In reply to this post by qiuchenjian-2
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


---
12