Skip to content

Make current_date aware of execution timezone #17995

@Omega359

Description

@Omega359

Is your feature request related to a problem or challenge?

The current_date() function currently uses UTC tz. Now that functions have access to the ConfigOptions current_date() can be updated to use the tz set in 'datafusion.execution.time_zone'

Describe the solution you'd like

current_date() returns a tz aware date via the 'datafusion.execution.time_zone' config option.

Describe alternatives you've considered

Leave unchanged.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions