[
https://issues.apache.org/jira/browse/CALCITE-6350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-6350.
----------------------------------
Fix Version/s: 1.39.0
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/c7cace6cca8916875c6b5dc5b51089d608d97e47
Thank you for the reviews, [~nobigo][~caican][[~suibianwanwan3333]
> Unexpected result from UNION with literals expression
> -----------------------------------------------------
>
> Key: CALCITE-6350
> URL: https://issues.apache.org/jira/browse/CALCITE-6350
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.36.0
> Reporter: Evgeny Stanilovsky
> Assignee: Mihai Budiu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.39.0
>
>
> Near expression need to return 'w' but empty result found.
> {noformat}
> select * from (select 'word' i union all select 'w' i) t1 where i='w'
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)