asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xikui Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ASTERIXDB-1393) Initiate Datetime without sec causes IndexOutOfBoundsException
Date Mon, 11 Apr 2016 21:27:25 GMT

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

Xikui Wang updated ASTERIXDB-1393:
----------------------------------
    Description: 
When passing date time value without second part, e.g.: datetime("2016-03-04T17:17"), it will
cause ArrayIndexOutOfBoundsException:18. The exception happens at 
{quote}
at org.apache.asterix.om.base.temporal.ATimeParserFactory.parseTimePart(ATimeParserFactory.java:385)
{quote}
I think another exception handler might be better for this scenario.


  was:
When passing date time value without second part, e.g.: datetime("2016-03-04T17:17"), it will
cause ArrayIndexOutOfBoundsException:18. The exception happens at 
{quote}
at org.apache.asterix.om.base.temporal.ATimeParserFactory.parseTimePart(ATimeParserFactory.java:385)
{/quote}
I think another exception handler might be better for this scenario.



> Initiate Datetime without sec causes IndexOutOfBoundsException
> --------------------------------------------------------------
>
>                 Key: ASTERIXDB-1393
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1393
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Data Formats
>            Reporter: Xikui Wang
>            Priority: Trivial
>
> When passing date time value without second part, e.g.: datetime("2016-03-04T17:17"),
it will cause ArrayIndexOutOfBoundsException:18. The exception happens at 
> {quote}
> at org.apache.asterix.om.base.temporal.ATimeParserFactory.parseTimePart(ATimeParserFactory.java:385)
> {quote}
> I think another exception handler might be better for this scenario.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message