kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (KYLIN-2889) Subquery columns not exported in OLAPContext allColumns
Date Thu, 04 Jan 2018 03:24:00 GMT

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

Shaofeng SHI closed KYLIN-2889.
-------------------------------
    Resolution: Duplicate

> Subquery columns not exported in OLAPContext allColumns
> -------------------------------------------------------
>
>                 Key: KYLIN-2889
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2889
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Roger Shi
>
> A 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)

Mime
View raw message