apache / apache/arrow-julia

Possible bug in `Any` concretization routine

Open
#300 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
312
Forks
78
PR merge metrics
No merged PRs in 30d

Description

As discussed on Slack:

```
julia> using Arrow, DataFrames

julia> Arrow.write("test.arrow", (a = [1, 2], b = Any[3, 4.5]))
"test.arrow"

julia> DataFrame(Arrow.Table("test.arrow"))
2×2 DataFrame
Row │ a b
│ Int64 Float64
─────┼─────────────────
1 │ 1 1.5e-323
2 │ 2 4.5

(jl_aYpToJ) pkg> st
Status `C:\Users\ngudat\AppData\Local\Temp\jl_aYpToJ\Project.toml`
[69666777] Arrow v2.2.0
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the example in Julia with Arrow and DataFrames, using the shown Arrow.write and Arrow.Table calls. Then trace the Any concretization routine involved in reading the mixed-integer-and-float column; done means the resulting DataFrame preserves the values 3 and 4.5 instead of producing 1.5e-323 for the first value.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.