[
https://issues.apache.org/jira/browse/KYLIN-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834918#comment-17834918
]
pengfei.zhan edited comment on KYLIN-5776 at 4/10/24 12:47 AM:
---------------------------------------------------------------
h1. Design
For the function timestampadd, calcite for kylin will transfer to datetime_plus
to fold the constant, however, the calculation does not support string. If the
first parameter is year/day/month/quarter, the constant folding works but gives
wrong result. In order to support this, add some functions in the calcite for
kylin to support operations on string type.
was (Author: JIRAUSER294653):
h1. Design
For the function timestampadd, calcite for kylin will transfer to datetime_plus
to fold the constant, however, the calculation does not support string. If the
first parameter is year/day/month/quarter, the constant folding works but gives
wrong result. In order to support this, add some functions to support string.
> Support parameter type is string for timestampadd
> -------------------------------------------------
>
> Key: KYLIN-5776
> URL: https://issues.apache.org/jira/browse/KYLIN-5776
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 5.0-beta
> Reporter: pengfei.zhan
> Assignee: pengfei.zhan
> Priority: Major
> Fix For: 5.0-beta
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)