-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Preserve Element Name in ScalarValue::List #2450
Comments
Hi @tustvold is it to be consistent with arrow Datatype::List()
|
Yup precisely, when I took a stab at this previously I had to hack around apache/arrow-rs#1649 which was a bit meh. Let me know if you want to pick one or both of these issues up, as that would be awesome. |
I can try with this one. |
@tustvold Protobuf serde is expected to pass the entire field value, not just datatype like it was before? |
@tustvold for the test, which was before. This represents roundtrip for the list
Do you expect after change it has to be
or
|
The latter, you will need to both specify the name of the lists element, and its nullability |
Thanks @tustvold for the quick reply. I was confused because we have the test like
which also looks like list of primitives but with other datatype provided |
This will be a breaking change, and will require updating said tests. |
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
ScalarValue::List
lacks the ability to preserve the name of its element which prevents round-tripping it correctlyDescribe the solution you'd like
ScalarValue::List
should store aBox<Field>
instead, much likeScalarValue::Struct
The text was updated successfully, but these errors were encountered: