-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
arrowChanges to the arrow crateChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I would like to be able to specify a default set of FormatOptions for use by datafusion-cli and its tests, it would be advantageous if this could be declared as a const.
Describe the solution you'd like
I would like to be able to write
const DEFAULT_FORMAT_OPTIONS: FormatOptions<'static> = FormatOptions::new()
.with_date_format(Some("foo"))
.with_timestamp_format(Some("404"));
By extension this will also allow declaring const CastOptions
Describe alternatives you've considered
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arrowChanges to the arrow crateChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog