[GitHub] carbondata pull request #1523: [CARBONDATA-1756] Improve Boolean data compre...

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

[GitHub] carbondata pull request #1523: [CARBONDATA-1756] Improve Boolean data compre...

qiuchenjian-2
GitHub user xubo245 opened a pull request:

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

    [CARBONDATA-1756] Improve Boolean data compress rate by changing RLE to SNNAPY algorithm

    Improve Boolean data compress rate by changing RLE to SNNAPY algorithm
    Because Boolean data compress rate that uses RLE algorithm is lower than SNNAPY algorithm in most scenario.
   
    We also add some test case for testing  Boolean data compress rate.
   
    Be sure to do all of the following checklist to help us incorporate
    your contribution quickly and easily:
   
     - [ ] Any interfaces changed?
     No
     - [ ] Any backward compatibility impacted?
     No
     - [ ] Document update required?
    No
     - [ ] Testing done
        TestBooleanCompressSuite.scala
           
     - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
    No


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

    $ git pull https://github.com/xubo245/carbondata RLE2Snappy

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

    https://github.com/apache/carbondata/pull/1523.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 #1523
   
----
commit ac266e07bc446e27914cdf17dca45692722e82b5
Author: xubo245 <[hidden email]>
Date:   2017-11-17T09:17:43Z

    [CARBONDATA-1756] Improve Boolean data compress rate by changing RLE to SNNAPY algorithm

----


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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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



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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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



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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

    https://github.com/apache/carbondata/pull/1523
 
    @jackylk  Please review it


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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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



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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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



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

[GitHub] carbondata pull request #1523: [CARBONDATA-1756] Improve Boolean data compre...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1523#discussion_r153040465
 
    --- Diff: integration/spark2/src/test/scala/org/apache/carbondata/spark/testsuite/booleantype/compress/BooleanFile.scala ---
    @@ -0,0 +1,59 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.carbondata.spark.testsuite.booleantype.compress
    +
    +import java.io.{File, PrintWriter}
    +
    +import scala.util.Random
    +
    +object BooleanFile {
    --- End diff --
   
    If it is only used in TestBooleanCompressSuite, you can make it private function inside TestBooleanCompressSuite


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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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



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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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



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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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


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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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



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

[GitHub] carbondata pull request #1523: [CARBONDATA-1756] Improve Boolean data compre...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xubo245 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1523#discussion_r153067752
 
    --- Diff: integration/spark2/src/test/scala/org/apache/carbondata/spark/testsuite/booleantype/compress/BooleanFile.scala ---
    @@ -0,0 +1,59 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.carbondata.spark.testsuite.booleantype.compress
    +
    +import java.io.{File, PrintWriter}
    +
    +import scala.util.Random
    +
    +object BooleanFile {
    --- End diff --
   
    Yes, I have moved it into TestBooleanCompressSuite. Please review it again.


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

[GitHub] carbondata issue #1523: [CARBONDATA-1756] Improve Boolean data compress rate...

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

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


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

[GitHub] carbondata pull request #1523: [CARBONDATA-1756] Improve Boolean data compre...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user asfgit closed the pull request at:

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


---