baumgold commented on PR #456:
URL: https://github.com/apache/arrow-julia/pull/456#issuecomment-1579577077
One of the apps I maintain that relies on Arrow.jl for writing crashed when
upgrading to Arrow v2.6 with the following error/stack:
```julia
MethodError: no method matching SubArray{NamedTuple{(:QuoteSetID,
:OfferSize, :BidSize), Tuple{UInt16, Union{Missing, UInt32}, Union{Missing,
UInt32}}}, 1, Arrow.Struct{NamedTuple{(:QuoteSetID, :OfferSize, :BidSize),
Tuple{UInt16, Union{Missing, UInt32}, Union{Missing, UInt32}}},
Tuple{Arrow.Primitive{UInt16, Vector{UInt16}}, Arrow.Primitive{Union{Missing,
UInt32}, Vector{UInt32}}, Arrow.Primitive{Union{Missing, UInt32},
Vector{UInt32}}}}, Tuple{UnitRange{Int64}}, true}(::UndefInitializer,
::Tuple{Int64})
Closest candidates are:
SubArray{T, N, P, I, L}(::Any, ::Any, ::Any, ::Any) where {T, N, P, I, L}
@ Base subarray.jl:19
Stacktrace:
[1] similar
@ ./abstractarray.jl:882
[2] similar
@ ./abstractarray.jl:880
[3] default
@ ~/.julia/packages/ArrowTypes/lFz2k/src/ArrowTypes.jl:346
[4] getindex
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/struct.jl:80 [inlined]
[5] iterate
@ ./abstractarray.jl:1220 [inlined]
[6] iterate
@ ./abstractarray.jl:1218 [inlined]
[7] #ToList#16
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:113
[8] ToList
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:100 [inlined]
[9] #arrowvector#18
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:214
[10] arrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:211 [inlined]
[11] #arrowvector#10
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:97
[12] #arrowvector#3
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:74
[13] #49
@ ./none:0
[14] iterate
@ ./generator.jl:47 [inlined]
[15] collect_to!
@ ./array.jl:840
[16] collect_to!
@ ./array.jl:848
--- the last 1 lines are repeated 1 more time ---
[18] collect_to_with_first!
@ ./array.jl:818
[19] collect
@ ./array.jl:792
[20] _totuple
@ ./tuple.jl:401 [inlined]
[21] Tuple
@ ./tuple.jl:369 [inlined]
[22] #arrowvector#48
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/struct.jl:93
[23] arrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/struct.jl:89 [inlined]
[24] #arrowvector#10
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:97
[25] #arrowvector#3
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:74
[26] arrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:58 [inlined]
[27] #toarrowvector#2
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:37
[28] toarrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:34 [inlined]
[29] #145
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:329
[30] eachcolumn
@ ~/.julia/packages/Tables/AcRIE/src/utils.jl:70
[31] toarrowtable
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:326
[32] macro expansion
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:187 [inlined]
[33] macro expansion
@ ./task.jl:476 [inlined]
[34] write
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:177
[35] #122
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:58
[36] #open#409
@ ./io.jl:395
[37] open
@ ./io.jl:392 [inlined]
[38] #write#121
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:57 [inlined]
[39] write
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:56 [inlined]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]