This is an automated email from the ASF dual-hosted git repository.
zhenchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 341e8d5490 [CALCITE-7392] Unable to implement EnumerableCollect for
SQL queries containing UNNEST
341e8d5490 is described below
commit 341e8d54908cd4c0c4f68a03f0d5157bbf33b876
Author: Zhen Chen <[email protected]>
AuthorDate: Sun Mar 8 00:04:34 2026 +0800
[CALCITE-7392] Unable to implement EnumerableCollect for SQL queries
containing UNNEST
---
core/src/test/resources/sql/new-decorr.iq | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/core/src/test/resources/sql/new-decorr.iq
b/core/src/test/resources/sql/new-decorr.iq
index e7fe98e178..987bd22299 100644
--- a/core/src/test/resources/sql/new-decorr.iq
+++ b/core/src/test/resources/sql/new-decorr.iq
@@ -459,4 +459,16 @@ order by e1.empno;
!ok
+# [CALCITE-7392] Unable to implement EnumerableCollect for SQL queries
containing UNNEST
+SELECT ARRAY(SELECT y + 1 FROM UNNEST(s.x) y)
+FROM (SELECT ARRAY[1,2,3] as x) s;
++-----------+
+| EXPR$0 |
++-----------+
+| [2, 3, 4] |
++-----------+
+(1 row)
+
+!ok
+
# End new-decorr.iq