[
https://issues.apache.org/jira/browse/PHOENIX-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298094#comment-14298094
]
James Taylor commented on PHOENIX-1142:
---------------------------------------
The work that Gabriel did is to use JODA date parsing instead of
java.util.SimpleDateFormat for default date parsing. See commits on
PHOENIX-1127. So now you can import date/times in any granularity at import
time. There's still more to do, though - for example, having a way of
specifying that you want to use iso-8601 compliant format, using the JODA date
parsing in the TO_DATE call, and having the CSV bulk loader get the default
date parse string from the connection properties. That'd be great if you can
take this further, [~jeffreyz].
> Improve CsvBulkLoadTool to parse different Date formats
> -------------------------------------------------------
>
> Key: PHOENIX-1142
> URL: https://issues.apache.org/jira/browse/PHOENIX-1142
> Project: Phoenix
> Issue Type: Improvement
> Reporter: David Kjerrumgaard
>
> Currently, the CsvBulkLoadTool uses a single 'default' format to parse dates
> from the source CSV file. This can sometimes cause issues when the date
> fields don't match this default format.
> Would it be possible to add a method for specifying / overriding the
> 'default' date format?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)