GitHub user kevinjmh opened a pull request:

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

    [CARBONDATA-2929][DataMap] Add block skipped info for explain command

    
    This pr will add block skipped info by counting distinct file path from hit 
blocklet. It shows like below:
    ```
    |== CarbonData Profiler ==
    Table Scan on test
     - total: 125 blocks, 250 blocklets
     - filter: (l_partkey <> null and l_partkey = 1006)
     - pruned by Main DataMap
        - skipped: 119 blocks, 238 blocklets
     - pruned by CG DataMap
        - name: dm
        - provider: bloomfilter
        - skipped: 6 blocks, 12 blocklets
    ```
    
    ```
    |== CarbonData Profiler ==
    Table Scan on test
     - total: 125 blocks, 250 blocklets
     - filter: TEXT_MATCH('l_shipmode:AIR')
     - pruned by Main DataMap
        - skipped: 0 blocks, 0 blocklets
     - pruned by FG DataMap
        - name: dm
        - provider: lucene
        - skipped: 12 blocks, 80 blocklets
    ```
    
    
    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/kevinjmh/carbondata explain_block_skip

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

    https://github.com/apache/carbondata/pull/2711.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 #2711
    
----
commit 0828b4d3f366b666602a3f9db89e862fc9bc0b89
Author: Manhua <kevinjmh@...>
Date:   2018-09-12T03:29:46Z

    add block skip info

----


---

Reply via email to