You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Xikui Wang (JIRA)" <ji...@apache.org> on 2016/04/11 21:12:25 UTC

[jira] [Created] (ASTERIXDB-1393) Initiate Datetime without sec causes IndexOutOfBoundsException

Xikui Wang created ASTERIXDB-1393:
-------------------------------------

             Summary: 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)