Skip to content

Commit c7bad12

Browse files
committed
add a test for creating a map in VALUES
1 parent e673c27 commit c7bad12

File tree

1 file changed

+6
-0
lines changed
  • datafusion/sqllogictest/test_files

1 file changed

+6
-0
lines changed

datafusion/sqllogictest/test_files/map.slt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,3 +302,9 @@ SELECT MAP(arrow_cast(make_array('POST', 'HEAD', 'PATCH'), 'LargeList(Utf8)'), a
302302
{POST: 41, HEAD: 33, PATCH: 30}
303303
{POST: 41, HEAD: 33, PATCH: 30}
304304
{POST: 41, HEAD: 33, PATCH: 30}
305+
306+
307+
query ?
308+
VALUES(MAP([], []))
309+
----
310+
{}

0 commit comments

Comments
 (0)