Skip to content

Update to_unixtime udf function to support a consistent set of argument types #19119

@Omega359

Description

@Omega359

Is your feature request related to a problem or challenge?

The docs for to_unixtime say "Supports strings, dates, timestamps and double types as input." however that is not actually the case - the currently supported types is Int32, Int64, Null, Float64, Timestamp, and UTF8.

The supported data types should be expanded to support all int types, all uint types, all float types, all Utf8 types, and date types.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

This was brought up as part of a review (#19078 (comment)) by @martin-g

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions