You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Till Westmann (JIRA)" <ji...@apache.org> on 2016/07/23 01:11:20 UTC
[jira] [Updated] (ASTERIXDB-1393) Initiate Datetime without sec
causes IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/ASTERIXDB-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Westmann updated ASTERIXDB-1393:
-------------------------------------
Assignee: Xikui Wang
> 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
> Assignee: 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)