Skip to content

Support EXTRACT as scalar function #13462

@Jackie-Jiang

Description

@Jackie-Jiang

EXTRACT transform function support was added in #9184, but there is no scalar function version of it which causes it not usable for literal evaluation or intermediate stage in multi-stage engine.

For context, calcite automatically re-write YEAR, QUARTER, MONTH etc. into EXTRACT in multi-stage engine, thus it is critical to support EXTRACT

Metadata

Metadata

Assignees

Labels

multi-stageRelated to the multi-stage query engine

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions