-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Rust] Writing optional fields #3455
Comments
cc @sunchao |
@ccakes at the moment we don't have a high-level API for this yet, so you have to provide values, repetition levels, and definition levels. Please check here for how to use the API, and this tutorial for how to specify nulls via definition levels. I do intend to implement a high-level API in the near future which will make this much easier. There's also a PR that aims at providing a |
Can you open a JIRA for this, or otherwise close it? |
I filed ARROW-4392 to track the high-level Parquet writer. |
Sweet thanks |
I'm trying to write a dataset with optional fields but I can't figure out a way to do it using the existing API. While the only write methods are per-row group, I can't see a way to specify nulls via
ColumnWriterImpl.write_batch()
Am I missing something obvious or is this something that isn't well supported until the Row writer implementation? I tried looking at the other lang libraries for inspiration (specifically C++) but it only gives an example using
write_batch
as effectively an individual row writer, other languages all give examples for optionals using dedicated row-level writer functionality.The text was updated successfully, but these errors were encountered: