julia> using TimeZones
julia> using Arrow
julia> Arrow.write(IOBuffer(),(;a=[now(tz"UTC")]))
ERROR: ArgumentError: type does not have a definite number of fields
Stacktrace:
[1] fieldcount at ./reflection.jl:725 [inlined]
[2] arrowvector(::Arrow.ArrowTypes.StructType, ::Type{TimeZone}, ::Type{TimeZone}, ::Arrow.ToStruct{TimeZone,2,Array{ZonedDateTime,1}}, ::Array{Arrow.DictEncoding,1}, ::Nothing; kw::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}}) at ~/.julia/packages/Arrow/JIMGY/src/arraytypes.jl:419
[3] arrowvector(::Type{TimeZone}, ::Type{TimeZone}, ::Arrow.ToStruct{TimeZone,2,Array{ZonedDateTime,1}}, ::Array{Arrow.DictEncoding,1}, ::Nothing; kw::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}}) at ~/.julia/packages/Arrow/JIMGY/src/arraytypes.jl:82
[4] arrowvector(::Arrow.ToStruct{TimeZone,2,Array{ZonedDateTime,1}}, ::Array{Arrow.DictEncoding,1}, ::Nothing; dictencoding::Bool, dictencode::Bool, kw::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}}) at ~/.julia/packages/Arrow/JIMGY/src/arraytypes.jl:62
[5] (::Arrow.var"#41#43"{Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}},Array{ZonedDateTime,1},Array{Arrow.DictEncoding,1}})(::Int64) at ./none:0
[6] iterate at ./generator.jl:47 [inlined]
[7] collect_to!(::Array{Arrow.Primitive{Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.Converter{Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.ToStruct{DateTime,1,Array{ZonedDateTime,1}}}},1}, ::Base.Generator{UnitRange{Int64},Arrow.var"#41#43"{Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}},Array{ZonedDateTime,1},Array{Arrow.DictEncoding,1}}}, ::Int64, ::Int64) at ./array.jl:732
[8] collect_to_with_first!(::Array{Arrow.Primitive{Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.Converter{Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.ToStruct{DateTime,1,Array{ZonedDateTime,1}}}},1}, ::Arrow.Primitive{Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.Converter{Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND,Int64},Arrow.ToStruct{DateTime,1,Array{ZonedDateTime,1}}}}, ::Base.Generator{UnitRange{Int64},Arrow.var"#41#43"{Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}},Array{ZonedDateTime,1},Array{Arrow.DictEncoding,1}}}, ::Int64) at ./array.jl:710
[9] collect(::Base.Generator{UnitRange{Int64},Arrow.var"#41#43"{Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}},Array{ZonedDateTime,1},Array{Arrow.DictEncoding,1}}}) at ./array.jl:691
[10] _totuple at ./tuple.jl:258 [inlined]
[11] Tuple at ./tuple.jl:230 [inlined]
[12] arrowvector(::Arrow.ArrowTypes.StructType, ::Type{ZonedDateTime}, ::Type{ZonedDateTime}, ::Array{ZonedDateTime,1}, ::Array{Arrow.DictEncoding,1}, ::Nothing; kw::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}}) at ~/.julia/packages/Arrow/JIMGY/src/arraytypes.jl:419
[13] arrowvector(::Type{ZonedDateTime}, ::Type{ZonedDateTime}, ::Array{ZonedDateTime,1}, ::Array{Arrow.DictEncoding,1}, ::Nothing; kw::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}}) at ~/.julia/packages/Arrow/JIMGY/src/arraytypes.jl:82
[14] arrowvector(::Array{ZonedDateTime,1}, ::Array{Arrow.DictEncoding,1}, ::Nothing; dictencoding::Bool, dictencode::Bool, kw::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},NTuple{4,Symbol},NamedTuple{(:compression, :largelists, :denseunions, :dictencodenested),Tuple{Nothing,Bool,Bool,Bool}}}) at ~/.julia/packages/Arrow/JIMGY/src/arraytypes.jl:62
[15] toarrowvector(::Array{ZonedDateTime,1}, ::Array{Arrow.DictEncoding,1}, ::Nothing; compression::Nothing, kw::Base.Iterators.Pairs{Symbol,Bool,NTuple{4,Symbol},NamedTuple{(:largelists, :denseunions, :dictencode, :dictencodenested),NTuple{4,Bool}}}) at ~/.julia/packages/Arrow/JIMGY/src/arraytypes.jl:45
[16] (::Arrow.var"#96#97"{Bool,Nothing,Bool,Bool,Bool,Array{Any,1},Array{Type,1},Array{Arrow.DictEncoding,1}})(::Array{ZonedDateTime,1}, ::Int64, ::Symbol) at ~/.julia/packages/Arrow/JIMGY/src/write.jl:250
[17] macro expansion at ~/.julia/packages/Tables/xHhzi/src/utils.jl:71 [inlined]
[18] eachcolumn at ~/.julia/packages/Tables/xHhzi/src/utils.jl:65 [inlined]
[19] toarrowtable(::NamedTuple{(:a,),Tuple{Array{ZonedDateTime,1}}}, ::Bool, ::Nothing, ::Bool, ::Bool, ::Bool) at ~/.julia/packages/Arrow/JIMGY/src/write.jl:249
[20] macro expansion at ~/.julia/packages/Arrow/JIMGY/src/write.jl:128 [inlined]
[21] macro expansion at ./task.jl:332 [inlined]
[22] write(::Base.GenericIOBuffer{Array{UInt8,1}}, ::NamedTuple{(:a,),Tuple{Array{ZonedDateTime,1}}}, ::Bool, ::Bool, ::Nothing, ::Bool, ::Bool, ::Bool) at ~/.julia/packages/Arrow/JIMGY/src/write.jl:125
[23] #write#91 at ~/.julia/packages/Arrow/JIMGY/src/write.jl:47 [inlined]
[24] write(::Base.GenericIOBuffer{Array{UInt8,1}}, ::NamedTuple{(:a,),Tuple{Array{ZonedDateTime,1}}}) at ~/.julia/packages/Arrow/JIMGY/src/write.jl:47
[25] top-level scope at REPL[133]:1