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 (JIRA)" <ji...@apache.org> on 2016/12/12 01:56:58 UTC
[jira] [Created] (ASTERIXDB-1749) ArrayIndexOutOfBoundsException
parsing SQL++ file using '\r'
Till created ASTERIXDB-1749:
-------------------------------
Summary: ArrayIndexOutOfBoundsException parsing SQL++ file using '\r'
Key: ASTERIXDB-1749
URL: https://issues.apache.org/jira/browse/ASTERIXDB-1749
Project: Apache AsterixDB
Issue Type: Bug
Components: Translator - SQL++
Reporter: Till
Assignee: Till
When parsing a SQL++ query that
a) contains an error and
b) separates lines using '\r'
an ArrayIndexOutOfBoundsException is thrown.
For example is "select\rvalue\r1" throws
{noformat}
java.lang.ArrayIndexOutOfBoundsException: 2
at org.apache.asterix.lang.common.parser.ScopeChecker.getLine(ScopeChecker.java:308)
at org.apache.asterix.lang.sqlpp.parser.SQLPPParser.getMessage(SQLPPParser.java:283)
at org.apache.asterix.lang.sqlpp.parser.SQLPPParser.parse(SQLPPParser.java:267)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)