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

[GitHub] carbondata pull request #2464: [CARBONDATA-2618][32K] Split to multiple page...

GitHub user kevinjmh opened a pull request:

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

    [CARBONDATA-2618][32K] Split to multiple pages if varchar column page exceeds 2GB/snappy limits

    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. 
    
    
    
    
    A varchar column page uses SafeVarLengthColumnPage/UnsafeVarLengthColumnPage to store data
    and encoded using HighCardDictDimensionIndexCodec which will call getByteArrayPage() from
    column page and flatten into byte[] for compression.
    Limited by the index of array, we can only put number of Integer.MAX_VALUE bytes in a page.
    
    Another limitation is from Compressor. Currently we use snappy as default compressor,
    and it will call MaxCompressedLength method to estimate the result size for preparing output.
    For safety, the estimate result is oversize: `32 + source_len + source_len/6`.
    So the maximum bytes to compress by snappy is (2GB-32)*6/7≈1.71GB.
    
    Size of a row does not exceed 2MB since UnsafeSortDataRows uses 2MB byte[] as rowBuffer.
    Such that we can stop adding more row here if any long string column reach this limit.


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

    $ git pull https://github.com/kevinjmh/carbondata 32k_2gb

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

    https://github.com/apache/carbondata/pull/2464.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 #2464
    
----
commit 4acd5a65489d228e926d6ff6222d5f24f52591f8
Author: Manhua <ke...@...>
Date:   2018-07-09T08:42:08Z

    dynamic column page size decided by long string column

----


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata pull request #2464: [CARBONDATA-2618][32K] Split to multiple page...

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

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


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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


---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---

[GitHub] carbondata issue #2464: [CARBONDATA-2618][32K] Split to multiple pages if va...

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

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



---