You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/11 23:06:07 UTC

[GitHub] [arrow-julia] Moelf opened a new issue, #344: error earlier when number of entries don't match across all fields

Moelf opened a new issue, #344:
URL: https://github.com/apache/arrow-julia/issues/344

   right now it throws confusing messages:
   ```
   julia> Arrow.write(tempname(), df)
   ERROR: UndefRefError: access to undefined reference
   Stacktrace:
     [1] getindex
       @ ./array.jl:924 [inlined]
     [2] iterate
       @ ~/.julia/packages/Arrow/SFb8h/src/arraytypes/list.jl:171 [inlined]
     [3] Arrow.ToList(input::Arrow.ToList{Vector{Bool}, false, Vector{Vector{Bool}}, Int32}; largelists::Bool)
       @ Arrow ~/.julia/packages/Arrow/SFb8h/src/arraytypes/list.jl:103
     [4] arrowvector(::ArrowTypes.ListKind{false}, x::Arrow.ToList{Vector{Bool}, false, Vector{Vector{Bool}}, Int32}, i::Int64, nl::Int64, fi::Int64, de::Dict{Int64, Any}, ded::Vector{Arrow.DictEncoding}, meta::Nothing; largelists::Bool, kw::Base.Pairs{Symbol, Union{Nothing, Integer}, NTuple{6, Symbol}, NamedTuple{(:dictencode, :maxdepth, :lareglists, :compression, :denseunions, :dictencodenested), Tuple{Bool, Int64, Bool, Nothing, Bool, Bool}}})
   ```


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-julia] Moelf closed issue #344: error earlier when number of entries don't match across all fields

Posted by GitBox <gi...@apache.org>.
Moelf closed issue #344: error earlier when number of entries don't match across all fields
URL: https://github.com/apache/arrow-julia/issues/344


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-julia] quinnj commented on issue #344: error earlier when number of entries don't match across all fields

Posted by GitBox <gi...@apache.org>.
quinnj commented on issue #344:
URL: https://github.com/apache/arrow-julia/issues/344#issuecomment-1276806875

   Sorry, can you clarify what is going on here? Are you saying you have columns in `df` (I assume that's a DataFrame?) that have different lengths? i.e. `col1` has 10 rows, while `col2` has 12 rows or something?
   
   The codepath you're hitting here seems to suggest that a column in your DataFrame is actually a column of Array objects? Are you sure you don't have an element that is something like `[#undef]` which would result in this error? If you can provide a reproducible example, we can probably fix it really quickly.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org