julianhyde commented on code in PR #3475: URL: https://github.com/apache/calcite/pull/3475#discussion_r1364098384
########## 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: test may be nondeterministic. if Calcite allows an `order by` in the subquery I think you should add it also add tests where the map contains 1 row 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]
