[
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, 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, 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)