[GitHub] carbondata pull request #1804: [CARBONDATA-2028] Select Query failed with pr...

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

[GitHub] carbondata pull request #1804: [CARBONDATA-2028] Select Query failed with pr...

qiuchenjian-2
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

----


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

[GitHub] carbondata pull request #1804: [CARBONDATA-2028] Select Query failed with pr...

qiuchenjian-2
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


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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

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

    https://github.com/apache/carbondata/pull/1804
 
    LGTM


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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata issue #1804: [CARBONDATA-2028] Select Query failed with preagg ha...

qiuchenjian-2
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/



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

[GitHub] carbondata pull request #1804: [CARBONDATA-2028] Select Query failed with pr...

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

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


---