parthchandra opened a new pull request, #4169:
URL: https://github.com/apache/arrow-rs/pull/4169
# Which issue does this PR close?
Closes #4168
# Rationale for this change
See issue #4168
# What changes are included in this PR?
Adds a `FormatOption` field to `CastOption`. If specified, the format is
passed in to the formatter which will then output in the required format.
One change was to modify `DEFAULT_CAST_OPTIONS` so that it is no longer a
`const`. Instead it implements the `Default` trait in keeping with the
implementation of `FormatOptions`
# Are there any user-facing changes?
The cast API is not changed but the cast options are. This should be
documented.
Not sure if this is a breaking change, but adding the api-change label to be
on the safe side.
--
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]