[GitHub] carbondata pull request #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg...

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

[GitHub] carbondata pull request #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg...

qiuchenjian-2
GitHub user kunal642 opened a pull request:

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

    [WIP] [CARBONDATA-1743] fix  conurrent pre-agg creation and query

    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/kunal642/carbondata concurrent_query

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

    https://github.com/apache/carbondata/pull/1521.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 #1521
   
----
commit 8952423e18a0c36afe08c5ead3730ff48fc3661e
Author: kunal642 <[hidden email]>
Date:   2017-11-17T06:43:25Z

    fix  conurrent pre-agg creation and query

----


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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1521
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1220/



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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

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

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



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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

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

    https://github.com/apache/carbondata/pull/1521
 
    @kunal642 Please update PR description


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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1343/



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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

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

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



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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/1404/



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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

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

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



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

[GitHub] carbondata issue #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg creati...

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

    https://github.com/apache/carbondata/pull/1521
 
    @kunal642 Please rebase and fix the build


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

[GitHub] carbondata pull request #1521: [WIP] [CARBONDATA-1743] fix conurrent pre-agg...

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

    https://github.com/apache/carbondata/pull/1521#discussion_r154637843
 
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonPreAggregateRules.scala ---
    @@ -197,8 +197,17 @@ case class CarbonPreAggregateQueryRules(sparkSession: SparkSession) extends Rule
                     .asInstanceOf[LogicalRelation]
                   (selectedDataMapSchema, carbonRelation)
                 }.minBy(f => f._2.relation.asInstanceOf[CarbonDatasourceHadoopRelation].sizeInBytes)
    -          // transform the query plan based on selected child schema
    -          transformPreAggQueryPlan(plan, aggDataMapSchema, carbonRelation)
    +          if (carbonRelation.relation.asInstanceOf[CarbonDatasourceHadoopRelation].sizeInBytes ==
    --- End diff --
   
    While calculating `sizeInBytes` in CarbonRelation we can first check the size of the valid segments and then calculate the store size of that table.


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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Failed with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/769/



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/2000/



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

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



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/777/



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

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



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/783/



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

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



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/2012/



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

    https://github.com/apache/carbondata/pull/1521
 
    Build Success with Spark 2.2.0, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/813/



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

[GitHub] carbondata issue #1521: [CARBONDATA-1743] fix conurrent pre-agg creation and...

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

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



---
12