Ulrich Kramer created CALCITE-4688:
--------------------------------------
Summary: 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
{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)