julianhyde commented on code in PR #3475:
URL: https://github.com/apache/calcite/pull/3475#discussion_r1365754850


##########
core/src/test/resources/sql/sub-query.iq:
##########
@@ -3685,4 +3685,15 @@ FROM dept d1;
 
 !ok
 
+# [CALCITE-6041] MAP sub-query gives NullPointerException
+SELECT map(SELECT empno, deptno from emp where deptno < 20);

Review Comment:
   Leave it in. I agree that it will be deterministic, knowing where the test 
data comes from.
   
   I think we need tests with N, 1 and 0 rows.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to