[GitHub] carbondata pull request #2550: [WIP]Fixed filter query issue in case of V1/v...

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

[GitHub] carbondata pull request #2550: [WIP]Fixed filter query issue in case of V1/v...

qiuchenjian-2
GitHub user kumarvishal09 opened a pull request:

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

    [WIP]Fixed filter query issue in case of V1/v2 format store

    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/kumarvishal09/incubator-carbondata 23-july

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

    https://github.com/apache/carbondata/pull/2550.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 #2550
   
----
commit 5216beb57c6290d57065b11750db38c1d7c7dfdc
Author: kumarvishal09 <kumarvishal1802@...>
Date:   2018-07-24T14:40:54Z

    Fixed filter query issue in case of V1/v2 store

----


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata pull request #2550: [CARBONDATA-2779]Fixed filter query issue in ...

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

    https://github.com/apache/carbondata/pull/2550#discussion_r204981714
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/scan/executor/impl/AbstractQueryExecutor.java ---
    @@ -239,36 +249,34 @@ private void readAndFillBlockletInfo(Map<String, DataFileFooter> filePathToFileF
           // fill the info only for given blockletId in detailInfo
           BlockletInfo blockletInfo = blockletList.get(blockletDetailInfo.getBlockletId());
           fillBlockletInfoToTableBlock(tableBlockInfos, blockInfo, blockletDetailInfo, fileFooter,
    -          blockletInfo, blockletDetailInfo.getBlockletId());
    +          blockletInfo, blockletDetailInfo.getBlockletId(), segmentProperties);
         } else {
           short count = 0;
           for (BlockletInfo blockletInfo : blockletList) {
             fillBlockletInfoToTableBlock(tableBlockInfos, blockInfo, blockletDetailInfo, fileFooter,
    -            blockletInfo, count);
    +            blockletInfo, count, segmentProperties);
             count++;
           }
         }
       }
     
       private void fillBlockletInfoToTableBlock(List<TableBlockInfo> tableBlockInfos,
           TableBlockInfo blockInfo, BlockletDetailInfo blockletDetailInfo, DataFileFooter fileFooter,
    -      BlockletInfo blockletInfo, short blockletId) {
    +      BlockletInfo blockletInfo, short blockletId, SegmentProperties segmentProperties) {
         TableBlockInfo info = blockInfo.copy();
         BlockletDetailInfo detailInfo = info.getDetailInfo();
         // set column schema details
         detailInfo.setColumnSchemas(fileFooter.getColumnInTable());
         detailInfo.setRowCount(blockletInfo.getNumberOfRows());
    -    byte[][] maxValues = blockletInfo.getBlockletIndex().getMinMaxIndex().getMaxValues();
    -    byte[][] minValues = blockletInfo.getBlockletIndex().getMinMaxIndex().getMinValues();
    +    byte[][] minValues = BlockletDataMapUtil.updateMinValues(segmentProperties,
    +        blockletInfo.getBlockletIndex().getMinMaxIndex().getMinValues());
    +    byte[][] maxValues = BlockletDataMapUtil.updateMaxValues(segmentProperties,
    +        blockletInfo.getBlockletIndex().getMinMaxIndex().getMaxValues());
    --- End diff --
   
    Move this code inside isLegacyStore check


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

    https://github.com/apache/carbondata/pull/2550
 
    @manishgupta88 Please check


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

    https://github.com/apache/carbondata/pull/2550
 
    @kumarvishal09 ...Please rebase


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

    https://github.com/apache/carbondata/pull/2550
 
    LGTM...can be merged once build passes


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



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

[GitHub] carbondata pull request #2550: [CARBONDATA-2779]Fixed filter query issue in ...

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

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


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

[GitHub] carbondata issue #2550: [CARBONDATA-2779]Fixed filter query issue in case of...

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

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



---