stuartthomas25 commented on issue #474:
URL: https://github.com/apache/arrow-julia/issues/474#issuecomment-1631449243
I think I resolved the issue. It has to do with how Arrow reads Tables from
disk. It does not load the entire table into memory but uses only a view. If
you write this view to the *same* file, it causes this bus error.
```
using TypedTables
using Arrow
tab = Table(
a=[i for i=1:10],
b=[fill(0.1,10) for i=1:10]
)
filename = "test.arrow"
Arrow.write(filename, tab; file=false)
newtab = Table(Arrow.Table(filename))
Arrow.write(filename, deepcopy(newtab)) # always works
Arrow.write(filename, copy(newtab)) # only works for simple columns like :a,
but not :b
Arrow.write(filename, newtab) # always fails
```
I wonder if this is also the case in @simsurace's error.
--
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]