You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2021/07/16 07:37:48 UTC

[GitHub] [calcite] zabetak commented on a change in pull request #2455: [CALCITE-4680] Add test case for UNNEST in a subquery with nullable field

zabetak commented on a change in pull request #2455:
URL: https://github.com/apache/calcite/pull/2455#discussion_r671033028



##########
File path: core/src/test/resources/sql/unnest.iq
##########
@@ -223,4 +223,25 @@ FROM UNNEST(array [0, 2, 4, 4, 5]) as x;
 
 !ok
 
+
+WITH tab(field1, field2) AS (VALUES 
+	(1, ARRAY[ ROW(0), ROW(NULL)]), 

Review comment:
       Why do you need the ROW constructor inside the array? It won't work if it is simple `ARRAY[0, null]`?




-- 
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: commits-unsubscribe@calcite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org