You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by Zhangshunyu <gi...@git.apache.org> on 2016/09/01 07:48:26 UTC

[GitHub] incubator-carbondata pull request #117: [WIP]Fix the bug that when subquery ...

GitHub user Zhangshunyu opened a pull request:

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

    [WIP]Fix the bug that when subquery with sort and filter the result is empty.

    ## Why raise this pr?
    Fix this bug: When the query has subquery with sort and filter, it can not return resullt.
    ## How to solve?
    When the query likes this, the optimized plan by spark never push down the filter, and as aresult the sort is not decoded by carbon, when use filter, the int values can not resolved as string values by spark.
    So we shoud decode them earlier when the child of filter is sort.
    How to test?
    Added new testcases and should pass them and pass CI.

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

    $ git pull https://github.com/Zhangshunyu/incubator-carbondata query91

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

    https://github.com/apache/incubator-carbondata/pull/117.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 #117
    
----
commit 31eb578927044a2d6ea8d80c487b5b5c4f73004a
Author: Zhangshunyu <zh...@huawei.com>
Date:   2016-09-01T07:33:01Z

    Fix the bug that subquery with sort and filter the result is empty

commit 6ecc2e69172c4103fca2ff6d7173a2236be4fc03
Author: Zhangshunyu <zh...@huawei.com>
Date:   2016-09-01T07:45:54Z

    Fix the bug that subquery with sort and filter the result is empty

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata pull request #117: [CARBONDATA-199]Fix the bug that whe...

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

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---