Skip to content

Commit

Permalink
add a test for creating a map in VALUES
Browse files Browse the repository at this point in the history
  • Loading branch information
Blizzara committed Jul 19, 2024
1 parent e673c27 commit c7bad12
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datafusion/sqllogictest/test_files/map.slt
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,9 @@ SELECT MAP(arrow_cast(make_array('POST', 'HEAD', 'PATCH'), 'LargeList(Utf8)'), a
{POST: 41, HEAD: 33, PATCH: 30}
{POST: 41, HEAD: 33, PATCH: 30}
{POST: 41, HEAD: 33, PATCH: 30}


query ?
VALUES(MAP([], []))
----
{}

0 comments on commit c7bad12

Please sign in to comment.