ericphanson commented on issue #506: URL: https://github.com/apache/arrow-julia/issues/506#issuecomment-2127147432
The workaround is to ask DataFrames to copy the columns: ```julia DataFrame(Arrow.Table("/tmp/test.arrow")); copycols=true) ``` The reason for the current behavior is: - `Arrow.Table` exposes an immutable view of the underlying byte-buffer (for e.g. 0-copy reads from mmap'd data) - `DataFrame` accepts arbitrary vectors as columns (again to support things like 0-copy reads) - the naive composition therefore results in immutable columns and confusing errors (not saying it is ideal, just how/why we got here) -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org