[
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)