-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feather.materialize
can easily cause segfaults
#3
Comments
I think I don't fully understand the issue here. The various array types in Arrow.jl have a reference to the underlying data vector, right? Doesn't that keep the memory alive? |
It would, but your problem is that you're assuming that those When you do a So, here's what happens: I have a bunch of
The solution to this is to stop abusing |
Ah, thanks, got it! I guess another option would be to return a custom array type in these cases that keeps holding a reference to the underlying data array, right? But that is probably too much hassle. At least from the Query.jl integration point of view your current plan sounds excellent. |
Nope, not a hassle at all, in fact this is already done for me by Like I said, I'm also about to create the |
Ah, yes, of course! Ok, so essentially this issue here can just be closed, right? Everything seems sorted out on that front. |
Yup, all sorted out. |
Not necessarily directly relevant to this package, but see my comment. Again, I'm not seeing any really elegant solutions to this.
The text was updated successfully, but these errors were encountered: