jsjtxietian opened a new pull request, #36915:
URL: https://github.com/apache/arrow/pull/36915
### Rationale for this change
Mostly for convenience. It would be nice to be able to write:
```struct_({{"a", int8()}, {"b", utf8()}});```
instead of:
```struct_({field("a", int8()), field("b", utf8())});```
Same with the schema factory.
### What changes are included in this PR?
Add a struct_ overload and two schema overload taking a vector of (name,
type) pairs to construct a vector of fields.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
Yes. Add three ARROW_EXPORTfunctions.
* closes #36867
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]