[
https://issues.apache.org/jira/browse/PHOENIX-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-698.
----------------------------------
Resolution: Duplicate
Duplicate of PHOENIX-1274
> The TO_DATE function should support entering date in 'yyy-MM-dd' form
> ---------------------------------------------------------------------
>
> Key: PHOENIX-698
> URL: https://issues.apache.org/jira/browse/PHOENIX-698
> Project: Phoenix
> Issue Type: Task
> Affects Versions: 3.0-Release
> Reporter: James Taylor
>
> The following causes the error below:
> create table foo(x float not null primary key, d date );
> upsert into foo values(1, to_date('1997-11-08'));
> java.lang.IllegalStateException: to_date('1997-11-08)' did not match expected
> date format of 'yyyy-MM-dd HH:mm:ss'.
> We should support this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)