-
Notifications
You must be signed in to change notification settings - Fork 142
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
CSV.read not working properly with StructArray #941
Comments
Pinging @piever to chime in, but as I understand it, a My guess is it would be trivial to add some kind of |
Yes, that is correct. You can actually already do CSV.read(fn, StructArray∘Tables.columntable) which is probably close to optimal (the data structure backing a Should materializer(::Type{<:StructArray}) method, and |
It seems like |
I think most users who aren't familiar with the implementation details are still going to expect StructArray to work as a sink without going through an intermediate step. It's a table-like data structure just like DataFrame. |
Makes sense. I can probably still define CSV.read(fn, materializer(StructArray)) Rather than defining |
It works as expected when reading into a
NamedTulpe
first, but not when reading directly into aStructArray
:The text was updated successfully, but these errors were encountered: