kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shao Feng Shi (Jira)" <j...@apache.org>
Subject [jira] [Closed] (KYLIN-2829) Union two subquery under join make SQL return null values
Date Mon, 02 Mar 2020 15:02:00 GMT

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

Shao Feng Shi closed KYLIN-2829.
--------------------------------
    Resolution: Incomplete

> Union two subquery under join make SQL return null values
> ---------------------------------------------------------
>
>                 Key: KYLIN-2829
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2829
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Roger Shi
>            Priority: Major
>
> SQL like:
> {code:sql}
> select sum(TEST_A.PRICE) as ITEM_CNT
> FROM TEST_KYLIN_FACT as TEST_A
> join (
>     select * from ITEM_CNT where CAL_DT < DATE '2012-06-01'
>     union
>     select * from ITEM_CNT where CAL_DT > DATE '2013-06-01'
> ) TEST_B
> on TEST_A.TRANS_ID = TEST_B.TRANS_ID
> group by TEST_A.SELLER_ID
> {code}
> returns null values.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message