TanookiToad commented on issue #336:
URL: https://github.com/apache/arrow-julia/issues/336#issuecomment-1336261151
> @TanookiToad - this is strange `copy(df)` and `df[:, :]` are almost the
same (their only difference is how metadata is handled but it should not affect
the result here)
Yeah. I was wrong about that. There's actually no difference in `copy(df)`
vs `df[:, :]` on this issue. Actually after more tests, it becomes pretty
cofusing to me that only sometimes loaded data can be rewritten on Windows.
For example, the following code will work if `"test.arrow"` is constructed
using `DataFrame(rand(10000, 1000), :auto)`, but it will raise an error if it's
a smaller data like `DataFrame(rand(100, 100), :auto)` or a larger data like
`DataFrame(rand(10000, 10000), :auto)`
```julia
df = copy(DataFrame(Arrow.Table("test.arrow")))
Arrow.write("test.arrow", df)
```
--
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]