-
Notifications
You must be signed in to change notification settings - Fork 1
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
json and jsonb support? #4
Comments
Could you share examples for this? |
Sure, so I have a model in active record which contains a column of type The resultant column for active records returned by rails is therefore is of type Now on a practical level these jsonb column entries are just deserialized strings and I believe when converting from active record to an arrow table it would make sense to just treat these like strings (the other option to be treating them like structs which would require passing in a schema to define the struct). To this end I believe in the remove line 56:
If my understanding of this gem is right then it will be able to leverage rail's underlying functionality when I would expect this to create an arrow table in which the |
Thanks. Do you want to open a PR for the approach? |
Hello, this gem is fantastic and cuts out much of the work that needs done! My only concern is that for our use case we have a significant amount of jsonb and json columns that we'd like to convert, we're fine if they're strings since parquet doesn't have any real native support for jsonb and json anyways.
Is there any plan to add this functionality in the future?
The text was updated successfully, but these errors were encountered: