GitHub user ravipesala opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/583

    [CARBONDATA-692]Supporting scalar subquery in carbon

    Scalar subqueries like below not working in carbon.
    
    ```
    select sum(salary) from scalarsubquery t1
    where ID < (select sum(ID) from scalarsubquery t2 where t1.name = t2.name
    ```
    Spark optimizes the subquery separately and  it throws error if it find 
decoder in it. So now this PR fixes to avoid optimizing the separately and only 
optimize whole query once

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravipesala/incubator-carbondata 
blocklet-group-write

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

    https://github.com/apache/incubator-carbondata/pull/583.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 #583
    
----
commit b6cb52064a931b4a014253f43f0aad13254da49c
Author: ravipesala <[email protected]>
Date:   2017-02-01T17:34:05Z

    Supporting scalar subquery in carbon

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to