Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
chucheng92 committed Oct 19, 2023
1 parent 27b7809 commit e444a56
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/src/test/resources/sql/sub-query.iq
Original file line number Diff line number Diff line change
Expand Up @@ -3696,4 +3696,15 @@ SELECT map(SELECT empno, deptno from emp where deptno < 20);

!ok

# [CALCITE-6041] MAP sub-query gives NullPointerException
SELECT map(SELECT empno, deptno from emp where false);
+--------+
| EXPR$0 |
+--------+
| {} |
+--------+
(1 row)

!ok

# End sub-query.iq

0 comments on commit e444a56

Please sign in to comment.