GitHub user BJangir opened a pull request:
https://github.com/apache/carbondata/pull/1804 [CARBONDATA-2028] Select Query failed with preagg having timeseries and normal agg table together Select Query failed with preagg having timeseries and normal agg table together Root Cause:- hasTimeSeriesDataMap(CarbonTable carbonTable) in CarbonUtil returns result based on 1st DataMap . Solution :- it should iterators all the DataMap and when finds timeseries datamap , then should returns the true. Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [ ] Any interfaces changed? NO - [ ] Any backward compatibility impacted?NO - [ ] Document update required?NO - [ ] Testing done =Done - [ ] 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/BJangir/incubator-carbondata CARBONDATA-2028 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/1804.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 #1804 ---- commit e2c94bf79e33dff88fb1ce373fc0284d4dbc1c6e Author: BJangir <babulaljangir111@...> Date: 2018-01-15T12:01:44Z Select Query failed with preagg having timeseries and normal agg table together ---- --- |
Github user kumarvishal09 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1804#discussion_r161509204 --- Diff: core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java --- @@ -2315,7 +2315,10 @@ public static boolean hasTimeSeriesDataMap(CarbonTable carbonTable) { List<DataMapSchema> dataMapSchemaList = carbonTable.getTableInfo().getDataMapSchemaList(); for (DataMapSchema dataMapSchema : dataMapSchemaList) { if (dataMapSchema instanceof AggregationDataMapSchema) { - return ((AggregationDataMapSchema) dataMapSchema).isTimeseriesDataMap(); + boolean istimeseries = ((AggregationDataMapSchema) dataMapSchema).isTimeseriesDataMap(); --- End diff -- Please do not store isTimeseriesDatamap value in any boolean add a if check and return false --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1804 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1562/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1804 Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/2797/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/1804 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/2893/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1804 Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/2834/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1804 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1599/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/1804 SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/2921/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1804 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1616/ --- |
In reply to this post by qiuchenjian-2
Github user kumarvishal09 commented on the issue:
https://github.com/apache/carbondata/pull/1804 LGTM --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1804 Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/2852/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/1804 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/2933/ --- |
In reply to this post by qiuchenjian-2
|
Free forum by Nabble | Edit this page |