You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (Updated) (JIRA)" <ji...@apache.org> on 2012/03/17 01:10:40 UTC

[jira] [Updated] (PIG-2515) Make CustomFormatToISO return null on Exception in parsing dates

     [ https://issues.apache.org/jira/browse/PIG-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai updated PIG-2515:
----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Patch is already committed to 0.10/trunk.
                
> Make CustomFormatToISO return null on Exception in parsing dates
> ----------------------------------------------------------------
>
>                 Key: PIG-2515
>                 URL: https://issues.apache.org/jira/browse/PIG-2515
>             Project: Pig
>          Issue Type: Improvement
>          Components: piggybank
>    Affects Versions: 0.9.1, 0.9.2, 0.10, 0.11
>            Reporter: Russell Jurney
>            Assignee: Russell Jurney
>              Labels: date, datetime, datetimes, fun, happy, pants, pig, piggybank
>             Fix For: 0.10, 0.11
>
>         Attachments: PIG-2505.3.patch, PIG-2505.4.patch, PIG-2515.2.patch, PIG-2515.logs.patch, PIG-2515.patch
>
>
> Dates are often ugly and malformed, and it is highly inconvenient for CustomFormatToISO to kill an entire run because a single date does not format.  As other string utilities in piggybank return null on error, so should CustomFormatToISO.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira