**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 correctly **Describe the solution you'd like** `ScalarValue::List` should store a `Box<Field>` instead, much like `ScalarValue::Struct`
Activity
comphead commentedon May 18, 2022
Hi @tustvold is it to be consistent with arrow Datatype::List()
tustvold commentedon May 18, 2022
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.
comphead commentedon May 19, 2022
I can try with this one.
comphead commentedon May 23, 2022
@tustvold Protobuf serde is expected to pass the entire field value, not just datatype like it was before?
comphead commentedon Jun 22, 2022
@tustvold for the test, which was before. This represents roundtrip for the list
Do you expect after change it has to be
or
tustvold commentedon Jun 24, 2022
The latter, you will need to both specify the name of the lists element, and its nullability
comphead commentedon Jun 28, 2022
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
tustvold commentedon Jun 28, 2022
This will be a breaking change, and will require updating said tests.