[GitHub] carbondata pull request #2477: [CARBONDATA-2539][MV] Fix predicate subquery ...

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

[GitHub] carbondata pull request #2477: [CARBONDATA-2539][MV] Fix predicate subquery ...

qiuchenjian-2
GitHub user ravipesala opened a pull request:

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

    [CARBONDATA-2539][MV]  Fix predicate subquery which uses leftsemi join

    This PR depends on https://github.com/apache/carbondata/pull/2453
    Problem: References to the top plan is not getting right when predicate subquery is present.
    Solution: Correct the refrences.
   
    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/ravipesala/incubator-carbondata mv-2539

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

    https://github.com/apache/carbondata/pull/2477.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 #2477
   
----
commit 844cff764e94f18ff8d115ccd636a06a0931bffb
Author: ravipesala <ravi.pesala@...>
Date:   2018-06-14T06:10:07Z

    Fixed order by in mv and aggregation functions inside projection expressions are fixed

commit 4d536f04cc97a57c467b75420188461fb91074a0
Author: ravipesala <ravi.pesala@...>
Date:   2018-07-09T07:59:47Z

    wip

commit bdef7f5b849fa6ba11b1cbc3bf76f83d749ec96e
Author: ravipesala <ravi.pesala@...>
Date:   2018-07-10T09:57:30Z

    Fix predicate subquery which uses leftsemi join

----


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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

    https://github.com/apache/carbondata/pull/2477
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5853/



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

    https://github.com/apache/carbondata/pull/2477
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5859/



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

    https://github.com/apache/carbondata/pull/2477
 
    retest sdv please


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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata pull request #2477: [CARBONDATA-2539][MV] Fix predicate subquery ...

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

    https://github.com/apache/carbondata/pull/2477#discussion_r204431642
 
    --- Diff: datamap/mv/core/src/main/scala/org/apache/carbondata/mv/datamap/MVHelper.scala ---
    @@ -463,6 +485,23 @@ object MVHelper {
         }
       }
     
    +  // Create the aliases using two plan outputs mappings.
    +  def createAliases(mappings: Seq[(NamedExpression, NamedExpression)]): Seq[NamedExpression] = {
    +    val oList = for ((o1, o2) <- mappings) yield {
    --- End diff --
   
    it is better to use `map` instead of `for`


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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

    https://github.com/apache/carbondata/pull/2477
 
    It seems this PR is not about join, please modify title if needed


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

[GitHub] carbondata pull request #2477: [CARBONDATA-2539][MV] Fix predicate subquery ...

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/2477#discussion_r204474392
 
    --- Diff: datamap/mv/core/src/main/scala/org/apache/carbondata/mv/datamap/MVHelper.scala ---
    @@ -463,6 +485,23 @@ object MVHelper {
         }
       }
     
    +  // Create the aliases using two plan outputs mappings.
    +  def createAliases(mappings: Seq[(NamedExpression, NamedExpression)]): Seq[NamedExpression] = {
    +    val oList = for ((o1, o2) <- mappings) yield {
    --- End diff --
   
    ok


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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



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

[GitHub] carbondata issue #2477: [CARBONDATA-2539][MV] Fix predicate subquery which u...

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

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



---
12