Skip to content

date_trunc output from fast path does not contain timezone information #18597

@hareshkh

Description

@hareshkh

Describe the bug

date_trunc output from the fast path does not contain timezone information.

A check is recently added to invoke_with_args that checks for the output type of the result with the expected output type from the UDF - #17515. Because the fast path misses adding the timezone, the assertion added in this PR fails.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions