You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Roger Shi (JIRA)" <ji...@apache.org> on 2018/01/02 05:00:07 UTC

[jira] [Resolved] (KYLIN-2887) Subquery columns not exported in OLAPContext allColumns

     [ https://issues.apache.org/jira/browse/KYLIN-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Shi resolved KYLIN-2887.
------------------------------
       Resolution: Fixed
    Fix Version/s: v2.3.0

> Subquery columns not exported in OLAPContext allColumns
> -------------------------------------------------------
>
>                 Key: KYLIN-2887
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2887
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Roger Shi
>             Fix For: v2.3.0
>
>
> Query like this returns empty value, because olap context allColumns field isn't set rightly.
> ```sql
> select c.COUNTRY, c.NAME,b.TRANS_ID, b.BUYER_ID from KYLIN_COUNTRY c join (
>         select * from KYLIN_SALES s join KYLIN_ACCOUNT a on s.SELLER_ID = a.ACCOUNT_ID where a.ACCOUNT_ID <= 10000866
>    ) b on b.ACCOUNT_COUNTRY = c.COUNTRY
> ```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)