Skip to content

Commit

Permalink
enable the null map tests (apache#12176)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal authored Aug 27, 2024
1 parent dff590b commit 1e67cb6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions datafusion/sqllogictest/test_files/map.slt
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,10 @@ SELECT MAP {'a':1, 'b':2, 'c':3 }['a'] FROM t;
1
1

# TODO(https://github.com/sqlparser-rs/sqlparser-rs/pull/1361): support parsing an empty map. Enable this after upgrading sqlparser-rs.
# query ?
# SELECT MAP {};
# ----
# {}
query ?
SELECT MAP {};
----
{}

# values contain null
query ?
Expand Down

0 comments on commit 1e67cb6

Please sign in to comment.