N Campbell created DRILL-5644:
---------------------------------
Summary: Projection using a scalar subquery causes zero rows to be
returned by statement
Key: DRILL-5644
URL: https://issues.apache.org/jira/browse/DRILL-5644
Project: Apache Drill
Issue Type: Bug
Components: Server
Affects Versions: 1.10.0
Environment: Drill 1.10
Reporter: N Campbell
When C3 is included in the projection zero rows are returned versus the
expected 3 rows
select TJOIN1.RNUM, TJOIN1.C1, case when 10 in ( select C1 from ( values (1) )
T(C1) ) then 'yes' else 'no' end C3 from
(
values
( 0, 10, 15),
( 1, 20, 25),
( 2, cast(NULL as integer), 50)
) TJOIN1 (RNUM, C1, C2)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)