[
https://issues.apache.org/jira/browse/CALCITE-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837723#comment-16837723
]
Danny Chan commented on CALCITE-3013:
-------------------------------------
[~xzh_dz] I look up some docs: MYSQL[1], ORACLE[2], and they both specify that
they support numeric data types. For ORACLE, it supports implicit type cast (to
numeric). While you know, Calcite does not support implicit type cast yet, so
let's make agreement that we only support numeric types here.
What i'm confused about why the demo you gave has a keyword "TO", i didn't
found any in the doc, and it accept one parameter(numeric).
[1]
[https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html#function_ceiling]
[2] https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions017.htm
> support CeilFuncBigInt <BIGINT> TO <TIME_UNIT>
> ----------------------------------------------
>
> Key: CALCITE-3013
> URL: https://issues.apache.org/jira/browse/CALCITE-3013
> Project: Calcite
> Issue Type: Test
> Reporter: xzh_dz
> Priority: Trivial
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)