Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed file by Arrow.write on a IOStream created with open(filename, "w") #432

Closed
heliosdrm opened this issue Apr 25, 2023 · 1 comment

Comments

@heliosdrm
Copy link

Context:
https://discourse.julialang.org/t/cannot-read-file-written-by-arrow-jl-in-python/97889/2

As mentioned in one of the answers, the file that results from:

open(filename, "w") do io
    Arrow.write(io, table)
end

does not include the magic "ARROW1" in the start/end, and there may be other problems.

It does work with Arrow.write(filename, table), though (filename being the path to the file).

@heliosdrm
Copy link
Author

Closing: I just found that it is solved by using the keyword arg file=true, as documented. Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant