[GitHub] carbondata pull request #2411: [CARBONDATA-2654][Datamap] Optimize output fo...

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

[GitHub] carbondata pull request #2411: [CARBONDATA-2654][Datamap] Optimize output fo...

qiuchenjian-2
GitHub user xuchuanyin opened a pull request:

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

    [CARBONDATA-2654][Datamap]  Optimize output for explaining querying with datamap

    Currently if we have multiple datamaps and the query hits all the
    datamaps, carbondata explain command will only show the first datamap
    and all the datamaps are not shown. In this commit, we show all the
    datamaps that are hitted in this query.
   
    Be sure to do all of the following checklist to help us incorporate
    your contribution quickly and easily:
   
     - [ ] Any interfaces changed?
     `Yes, only internal interfaces have been changed`
     - [ ] Any backward compatibility impacted?
     `NO`
     - [ ] Document update required?
     `NO`
     - [ ] Testing done
            Please provide details on
            - Whether new unit test cases have been added or why no new tests are required?
    `Tests added and updated`
            - How it is tested? Please attach test report.
    `Tested in local machine`
            - Is it a performance related change? Please attach the performance test report.
    `No`
            - Any additional information to help reviewers in testing this change.
           `NA`
     - [ ] 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 issue_2654_optimize_explain_dm

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

    https://github.com/apache/carbondata/pull/2411.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 #2411
   
----
commit 0cf11cd443cd4531180e0e674cc870dbed867fe3
Author: xuchuanyin <xuchuanyin@...>
Date:   2018-06-24T02:06:54Z

    Fix bugs in bloomfilter for dictionary/sort/date column
   
    In carbondata,
   
    for dictionary column, carbon convert literal value to dict value, then
    convert dict value to mdk value, at last it stores the mdk value as
    internal value in carbonfile.
   
    for other columns, carbon convert literal value to internal value using
    field-converter.
   
    Since bloomfilter datamap stores the internal value, during query we
    should convert the literal value in filter to internal value in order to
    match the value stored in bloomfilter datamap.
   
    Changes are made:
    1. FieldConverters were refactored to extract common value convert methods.
    2. BloomQueryModel was optimized to support converting literal value to
    internal value.
    3. fix bugs for int/float/date/timestamp as bloom index column
    4. fix bugs in dictionary/sort column as bloom index column
    5. add tests
    6. block (deferred) rebuild for bloom datamap (contains bugs that does
    not fix in this commit)

commit 29640866150ccdd66f145259dfc19fd0d7672254
Author: xuchuanyin <xuchuanyin@...>
Date:   2018-06-25T06:02:40Z

    fix bugs

commit ee9359f3ac336b18658beef961ca9e47e7b0d56c
Author: xuchuanyin <xuchuanyin@...>
Date:   2018-06-25T06:17:49Z

    reduce data size for test

commit b910c94d924ac015bbcdae82e60808e2f41d0b46
Author: xuchuanyin <xuchuanyin@...>
Date:   2018-06-26T06:11:17Z

    Fix bugs in negative number of skipped blocklets
   
    Currently in carbondata, default blocklet datamap will be used to prune
    blocklets. Then other indexdatamap will be used.
    But the other index datamap works for segment scope, which in some
    scenarios, the size of pruned result will be bigger than that of default
    datamap, thus causing negative number of skipped blocklets in explain
    query output.
   
    Here we add intersection after pruning. If the pruned result size is
    zero, we will finish the pruning.

commit e3944138c3a5c9d914369f9ff4766cbdc1afede6
Author: xuchuanyin <xuchuanyin@...>
Date:   2018-06-26T06:13:59Z

    Optimize output for explaining querying with datamap
   
    Currently if we have multiple datamaps and the query hits all the
    datamaps, carbondata explain command will only show the first datamap
    and all the datamaps are not shown. In this commit, we show all the
    datamaps that are hitted in this query.

----


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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

    https://github.com/apache/carbondata/pull/2411
 
    This PR only contains commit `Optimize output for explaining querying with datamap`
   
    It depends on PR #2403 and PR #2410


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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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


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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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


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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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


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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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



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

[GitHub] carbondata issue #2411: [CARBONDATA-2654][Datamap] Optimize output for expla...

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

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


---
12