Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b41sh committed Oct 24, 2024
1 parent 1407be5 commit d0dde42
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,5 +482,15 @@ select '[1,2,"3"]'::Variant a, a::Array(Variant) b, b::Variant = a;
----
[1,2,"3"] ['1','2','"3"'] 1

query TTT
select '{"k1":"v1","k2":"v2"}'::Variant a, a::Map(String, String) b, b::Variant = a;
----
{"k1":"v1","k2":"v2"} {'k1':'v1','k2':'v2'} 1

query TTT
select '{"a":1,"b":2}'::Variant a, a::Map(String, Int) b, b::Variant = a;
----
{"a":1,"b":2} {'a':1,'b':2} 1

statement ok
drop table t

0 comments on commit d0dde42

Please sign in to comment.