You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/22 19:16:00 UTC
[jira] [Updated] (CALCITE-4688) SqlLibraryOperators.TO_TIMESTAMP
has incorrect return type
[ https://issues.apache.org/jira/browse/CALCITE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated CALCITE-4688:
------------------------------------
Labels: pull-request-available (was: )
> SqlLibraryOperators.TO_TIMESTAMP has incorrect return type
> ----------------------------------------------------------
>
> Key: CALCITE-4688
> URL: https://issues.apache.org/jira/browse/CALCITE-4688
> Project: Calcite
> Issue Type: Bug
> Environment: All
> Reporter: Ulrich Kramer
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code:java}
> public static final SqlFunction TO_TIMESTAMP =
> new SqlFunction("TO_TIMESTAMP",
> SqlKind.OTHER_FUNCTION,
> ReturnTypes.DATE_NULLABLE,
> null,
> OperandTypes.STRING_STRING,
> SqlFunctionCategory.TIMEDATE);
> {code}
> should not have {{ReturnTypes.DATE_NULLABLE}} but {{ReturnTypes.TIMESTAMP_NULLABLE}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)