Skip to content

getindex broken with SVector{3, UInt} in the presence of missing data #486

Closed
JuliaArrays/StaticArrays.jl
#1196
@adienes

Description

@adienes

MWE:

julia> df = DataFrame(:a => [1, 2, 3, missing]);

julia> Arrow.write("mwe.arrow", df);

julia> at = Arrow.Table("mwe.arrow");

julia> idxs = @SVector UInt[1,2,3];

julia> at.a[idxs]
ERROR: setindex!() with non-isbitstype eltype is not supported by StaticArrays. Consider using SizedArray.

versioninfo:

julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores

(@v1.9) pkg> st Arrow
Status `~/.julia/environments/v1.9/Project.toml`
  [69666777] Arrow v2.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions