ericphanson commented on issue #452:
URL: https://github.com/apache/arrow-julia/issues/452#issuecomment-1579109900

   I think it calls `convert` first, but then, yeah, it expects a `Vector{Int}` 
for the element (not for the whole column, just for the individual element). 
That is what we got on Arrow 2.5:
   ```julia
   julia> Arrow.Table(read(path))
   Arrow.Table with 2 rows, 2 columns, and schema:
    :x  Vector{Int64} (alias for Array{Int64, 1})
    :y  String
   
   with metadata given by a Base.ImmutableDict{String, String} with 1 entry:
     "legolas_schema_qualified" => "test.parent@1"
   
   julia> Arrow.Table(read(path)).x
   2-element Arrow.List{Vector{Int64}, Int32, Arrow.Primitive{Int64, 
Vector{Int64}}}:
    [1, 2]
    [3, 4]
   
   julia> Arrow.Table(read(path)).x |> typeof
   Arrow.List{Vector{Int64}, Int32, Arrow.Primitive{Int64, Vector{Int64}}}
   
   julia> Arrow.Table(read(path)).x[1] |> typeof
   Vector{Int64} (alias for Array{Int64, 1})
   ```


-- 
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]

Reply via email to