Skip to content

The return type of EXTRACT #1992

@liukun4515

Description

@liukun4515

I think the result type of u32 is not enough.
From the spark,

spark-sql> SELECT EXTRACT(YEAR FROM TIMESTAMP '-2000-12-16 12:21:13');
-2000

But this is not related to this issue, I will open a follow up pull request and discuss the returned type.

Originally posted by @liukun4515 in #1991 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions