baumgold opened a new issue, #458:
URL: https://github.com/apache/arrow-julia/issues/458
After upgrading to Arrow v2.6.0 I get the following error in one of my apps:
```julia
MethodError: Cannot `convert` an object of type
Vector{NamedTuple{(:QuoteSetID, :UnderlyingSecurityID, :OfferSize, :BidSize,
:SecurityID, :QuoteEntryID, :OfferPx, :BidPx), Tuple{UInt16, Union{Missing,
Int32}, Union{Missing, UInt32}, Union{Missing, UInt32}, Int32, UInt32,
Union{Missing, FixedPointDecimals.FixedDecimal{Int64, 9}}, Union{Missing,
FixedPointDecimals.FixedDecimal{Int64, 9}}}}} to an object of type
SubArray{NamedTuple{(:QuoteSetID, :UnderlyingSecurityID, :OfferSize, :BidSize,
:SecurityID, :QuoteEntryID, :OfferPx, :BidPx), Tuple{UInt16, Union{Missing,
Int32}, Union{Missing, UInt32}, Union{Missing, UInt32}, Int32, UInt32,
Union{Missing, FixedPointDecimals.FixedDecimal{Int64, 9}}, Union{Missing,
FixedPointDecimals.FixedDecimal{Int64, 9}}}}, 1,
Arrow.Struct{NamedTuple{(:QuoteSetID, :UnderlyingSecurityID, :OfferSize,
:BidSize, :SecurityID, :QuoteEntryID, :OfferPx, :BidPx), Tuple{UInt16,
Union{Missing, Int32}, Union{Missing, UInt32}, Union{Missing, UInt32}, Int32,
UInt32, Uni
on{Missing, FixedPointDecimals.FixedDecimal{Int64, 9}}, Union{Missing,
FixedPointDecimals.FixedDecimal{Int64, 9}}}}, Tuple{Arrow.Primitive{UInt16,
Vector{UInt16}}, Arrow.Primitive{Union{Missing, Int32}, Vector{Int32}},
Arrow.Primitive{Union{Missing, UInt32}, Vector{UInt32}},
Arrow.Primitive{Union{Missing, UInt32}, Vector{UInt32}}, Arrow.Primitive{Int32,
Vector{Int32}}, Arrow.Primitive{UInt32, Vector{UInt32}},
Arrow.Primitive{Union{Missing, FixedPointDecimals.FixedDecimal{Int64, 9}},
Vector{Arrow.Decimal{19, 9, Int128}}}, Arrow.Primitive{Union{Missing,
FixedPointDecimals.FixedDecimal{Int64, 9}}, Vector{Arrow.Decimal{19, 9,
Int128}}}}}, Tuple{UnitRange{Int64}}, true}
Closest candidates are:
convert(::Type{T}, ::LinearAlgebra.Factorization) where T<:AbstractArray
@ LinearAlgebra
~/julia/julia-1.9.0/share/julia/stdlib/v1.9/LinearAlgebra/src/factorization.jl:59
convert(::Type{T}, ::T) where T<:AbstractArray
@ Base abstractarray.jl:16
convert(::Type{T}, ::T) where T
@ Base Base.jl:64
...
Stacktrace:
[1] push!
@ ./array.jl:1060
[2] #ToList#16
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:117
[3] ToList
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:100 [inlined]
[4] #arrowvector#18
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:214
[5] arrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/list.jl:211 [inlined]
[6] #arrowvector#10
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:97
[7] #arrowvector#3
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:74
[8] #49
@ ./none:0
[9] iterate
@ ./generator.jl:47 [inlined]
[10] collect_to!
@ ./array.jl:840
[11] collect_to!
@ ./array.jl:848
[12] collect_to!
@ ./array.jl:848
[13] collect_to_with_first!
@ ./array.jl:818
[14] collect
@ ./array.jl:792
[15] _totuple
@ ./tuple.jl:401 [inlined]
[16] Tuple
@ ./tuple.jl:369 [inlined]
[17] #arrowvector#48
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/struct.jl:93
[18] arrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/struct.jl:89 [inlined]
[19] #arrowvector#10
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:97
[20] #arrowvector#3
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:74
[21] arrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:58 [inlined]
[22] #toarrowvector#2
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:37
[23] toarrowvector
@ ~/.julia/packages/Arrow/86p6m/src/arraytypes/arraytypes.jl:34 [inlined]
[24] #145
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:329
[25] eachcolumn
@ ~/.julia/packages/Tables/AcRIE/src/utils.jl:70
[26] toarrowtable
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:326
[27] macro expansion
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:187 [inlined]
[28] macro expansion
@ ./task.jl:476 [inlined]
[29] write
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:177
[30] #122
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:58
[31] #open#409
@ ./io.jl:395
[32] open
@ ./io.jl:392 [inlined]
[33] #write#121
@ ~/.julia/packages/Arrow/86p6m/src/write.jl:57 [inlined]
[34] 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]