Skip to content

Make type coercion rule more robust #3390

@andygrove

Description

@andygrove

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Dask SQL project is seeing this:

Skipping optimizer rule TypeCoercion due to unexpected error: Error during planning: Coercion from [Timestamp(Nanosecond, Some("Europe/Berlin"))] to the signature Variadic([Int64]) failed.

Describe the solution you'd like
It would be better for the rule to return the original expression rather than fail

Describe alternatives you've considered
None

Additional context
None

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions