Skip to content
Permalink
Browse files
Add custom extension type nullability test
  • Loading branch information
quinnj committed Nov 20, 2020
1 parent 4e45cea commit 924c677fbc04fe9d6fa40b0e2fa6780459cbad96
Showing 1 changed file with 8 additions and 0 deletions.
@@ -161,6 +161,14 @@ tt = Arrow.Table(io)
io = IOBuffer()
@test_throws ArgumentError Arrow.write(io, (a = Int[], b = ["asd"], c=collect(1:100)))

# nullability of custom extension types
t = (a=['a', missing],)
io = IOBuffer()
Arrow.write(io, t)
seekstart(io)
tt = Arrow.Table(io)
@test isequal(tt.a, ['a', missing])

end # @testset "misc"

end

0 comments on commit 924c677

Please sign in to comment.