[Enhancement](Nereids)add datelikev2 type support for fold constant.#18275
[Enhancement](Nereids)add datelikev2 type support for fold constant.#18275englefly merged 1 commit intoapache:masterfrom
Conversation
|
run buildall |
|
TeamCity pipeline, clickbench performance test result: |
|
|
||
| @ExecFunction(name = "date_sub", argTypes = { "DATE", "INT" }, returnType = "DATE") | ||
| public static DateLiteral dateSub(DateLiteral date, IntegerLiteral day) throws AnalysisException { | ||
| @ExecFunction(name = "date_sub", argTypes = { "DATEV2", "INT" }, returnType = "DATEV2") |
There was a problem hiding this comment.
it is better to line595-599 to line 604 in order to save review effort.
|
PR approved by at least one committer and no changes requested. |
1 similar comment
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
1 similar comment
|
PR approved by anyone and no changes requested. |
…pache#18275 add datelikev2 type support for fold constant. date_add / years_add / mouths_add / days_add / hours_add / minutes_add / seconds_add and xxx_sub.
Proposed changes
Issue Number: close #xxx
Problem summary
add datelikev2 type support for fold constant.
date_add / years_add / mouths_add / days_add / hours_add / minutes_add / seconds_add and xxx_sub.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...