You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by suibianwanwan <15...@qq.com.INVALID> on 2024/08/15 14:59:08 UTC
回复: What are the design criteria for Calcite functions
I would like to support, during the validation phase in MySQL library.
------------------ 原始邮件 ------------------
发件人: "dev" <mmior@apache.org>;
发送时间: 2024年8月15日(星期四) 晚上10:46
收件人: "dev"<dev@calcite.apache.org>;
主题: Re: What are the design criteria for Calcite functions
suibianwanwan,
Supported in what way? When using the MySQL dialect, Calcite will generate
those functions where appropriate. However, I don't believe that the parser
supports these. Calcite does also support TO_TIMESTAMP. It would help if
you gave us a better idea of what you're trying to accomplish using Calcite.
--
Michael Mior
mmior@apache.org
On Thu, Aug 15, 2024 at 10:34 AM suibianwanwan33 <
suibianwanwan33@foxmail.com> wrote:
> I found that Mysql's STR_TO_DATE &amp; DATE_FORMAT functions are not
> supported in Calcite, I tried to understand and contribute this.
> But I'm not too familiar with this part. I've found that there are some
> functions that are defined as calcite default functions in StdOperator,
> some that have SqlKind, and some that are defined as OtherFunction. Of
> course, there are also a lot of functions that are not supported. I would
> like to know how we can distinguish these behaviors.
> For example, what kind of functions should we define as calcite default
> functions, I observed that calcite doesn't have a function like
> to_timestamp, is this missing in the calcite standard?. And what functions
> should we add to calcite?
> Also, I'm wondering if this contribution is meaningful to calcite.
>
>
> Thanks for all the replies
>
>
>
> Thanks,
> suibianwanwan