[jira] [Commented] (CARBONDATA-230) Decoding for alias in case of join and subquery

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-230) Decoding for alias in case of join and subquery

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15474368#comment-15474368 ]

ASF GitHub Bot commented on CARBONDATA-230:
-------------------------------------------

GitHub user ashokblend opened a pull request:

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

    [CARBONDATA-230]Decoding for alias in case of join and subquery

    Problem: When query has alias and subquery with join, decoder is not able to decode
    Analysis: In case of mentioned problem scenario, aliasMap is not getting populated with its correct origin value.
    Solution: Need to populate aliasmap with correct attribute

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

    $ git pull https://github.com/ashokblend/incubator-carbondata dictdecoder

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

    https://github.com/apache/incubator-carbondata/pull/145.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 #145
   
----
commit 7b281f7ae811dbd1c7392a4c99f3435e97dff3f9
Author: ashok.blend <[hidden email]>
Date:   2016-09-02T07:08:32Z

    Pushing down below functions to carbon
    1.Filter pushdown
    2.EquiJoin
    3.COUNT(*)

commit 91eef1e45713a91eaee8a233e6f45dc50a8bca58
Author: ashok.blend <[hidden email]>
Date:   2016-09-08T17:04:28Z

    1.Changed alias decoder to get correct value
    2.Changed logger to log datatype.

----


> Decoding for alias in case of join and subquery
> ------------------------------------------------
>
>                 Key: CARBONDATA-230
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-230
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ashok Kumar
>            Priority: Minor
>
> When query has alias and subquery with join, decoder is not able to decode
> e.g
> select sample.'abc' as 'abc' from (select col as 'abc' from table) sample
> left join (select col1 as col_200 from table2 group by col1)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)