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 ---- --- |
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/ --- |
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/ --- |
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 --- |
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/ --- |
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/ --- |
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 --- |
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 --- |
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 --- |
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 --- |
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/ --- |
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/ --- |
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/ --- |
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 --- |
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/ --- |
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/ --- |
In reply to this post by 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/ --- |
Free forum by Nabble | Edit this page |