[ https://issues.apache.org/jira/browse/KYLIN-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fengYu updated KYLIN-1833: -------------------------- Attachment: 0001-KYLIN-1833-union-query-get-error-result.patch patch for kylin-1.3.0, do not allocate OLAPRel.OLAPImplementor every time in OLAPToEnumerableConverter.implement, move it to threadlocal virable. > union operation will cause error result > --------------------------------------- > > Key: KYLIN-1833 > URL: https://issues.apache.org/jira/browse/KYLIN-1833 > Project: Kylin > Issue Type: Improvement > Components: Query Engine > Affects Versions: v1.3.0, v1.5.2 > Reporter: fengYu > Assignee: fengYu > Attachments: 0001-KYLIN-1833-union-query-get-error-result.patch > > > query like this will get error result : > select * from ( > select 'b', count(1) from kylin_sales where lstg_format_name >= 'Auction' > union all > select 'a', count(1) from kylin_sales where lstg_format_name >= 'Others' > union all > select 'c', count(1) from kylin_sales where lstg_format_name >= 'FP-GTC' > ) order by 1 -- This message was sent by Atlassian JIRA (v6.3.4#6332)