You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ravipesala <gi...@git.apache.org> on 2018/07/10 11:02:49 UTC

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

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 <ra...@...>
Date:   2018-06-14T06:10:07Z

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

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

    wip

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

    Fix predicate subquery which uses leftsemi join

----


---

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

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on the issue:

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


---

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

Posted by ravipesala <gi...@git.apache.org>.
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


---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by ravipesala <gi...@git.apache.org>.
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/5987/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by ravipesala <gi...@git.apache.org>.
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/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

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



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by ravipesala <gi...@git.apache.org>.
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/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/7461/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by jackylk <gi...@git.apache.org>.
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`


---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by ravipesala <gi...@git.apache.org>.
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/



---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/



---

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

Posted by ravipesala <gi...@git.apache.org>.
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/



---

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

Posted by jackylk <gi...@git.apache.org>.
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


---

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

Posted by CarbonDataQA <gi...@git.apache.org>.
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/6217/



---

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

Posted by brijoobopanna <gi...@git.apache.org>.
Github user brijoobopanna commented on the issue:

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


---