You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "adienes (via GitHub)" <gi...@apache.org> on 2023/09/13 19:49:53 UTC

[GitHub] [arrow-julia] adienes opened a new issue, #486: `getindex` broken with `SVector{3, UInt}` in the presence of missing data

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

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


-- 
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] adienes commented on issue #486: `getindex` broken with `SVector{3, UInt}` in the presence of missing data

Posted by "adienes (via GitHub)" <gi...@apache.org>.
adienes commented on issue #486:
URL: https://github.com/apache/arrow-julia/issues/486#issuecomment-1732385818

   should be fixed in https://github.com/JuliaArrays/StaticArrays.jl/releases/tag/v1.6.4


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


[GitHub] [arrow-julia] adienes commented on issue #486: `getindex` broken with `SVector{3, UInt}` in the presence of missing data

Posted by "adienes (via GitHub)" <gi...@apache.org>.
adienes commented on issue #486:
URL: https://github.com/apache/arrow-julia/issues/486#issuecomment-1718500254

   update: I believe this is (mostly) caused by `StaticArrays.jl` having a bug in its implementation of `similar`, which did not return a mutable container when `eltype` is not `isbitstype`, which is true of `Union{Int, Missing}`
   
   however, I am still confused about why the above MWE works when `idxs = @SVector [1,2,3]` (aka, without the `UInt`)


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


[GitHub] [arrow-julia] adienes closed issue #486: `getindex` broken with `SVector{3, UInt}` in the presence of missing data

Posted by "adienes (via GitHub)" <gi...@apache.org>.
adienes closed issue #486: `getindex` broken with `SVector{3, UInt}` in the presence of missing data
URL: https://github.com/apache/arrow-julia/issues/486


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