drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-3135) Indexing non-arrays yields AssertionError
Date Wed, 01 Jul 2015 21:50:05 GMT

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

Chris Westin updated DRILL-3135:
--------------------------------
    Fix Version/s: 1.2.0

> Indexing non-arrays yields AssertionError
> -----------------------------------------
>
>                 Key: DRILL-3135
>                 URL: https://issues.apache.org/jira/browse/DRILL-3135
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>             Fix For: 1.2.0
>
>
> Trying to index into a non-array yields an AssertionError (with no error message other
than a type name) rather that a message referring to the problem (e.g., that an array indexing
operation was applied to an expression whose type turned out to be a non-array type):
> {noformat}
> 0: jdbc:drill:zk=local> SELECT catalog_name[1] FROM  INFORMATION_SCHEMA.CATALOGS;
> Error: SYSTEM ERROR: java.lang.AssertionError: VARCHAR
> [Error Id: e6d65be4-c5cd-4b89-8d6c-a332ac578d23 on dev-linux2:31010] (state=,code=0)
> 0: jdbc:drill:zk=local> SELECT '123'[1] FROM  INFORMATION_SCHEMA.CATALOGS;
> Error: SYSTEM ERROR: java.lang.AssertionError: CHAR
> [Error Id: 8c5a10e7-34f7-427e-98be-22c13c39b0cc on dev-linux2:31010] (state=,code=0)
> 0: jdbc:drill:zk=local> SELECT CAST('123' as INTEGER)[1] FROM  INFORMATION_SCHEMA.CATALOGS;
> Error: SYSTEM ERROR: java.lang.AssertionError: INTEGER
> [Error Id: b63a518f-0071-4c66-b051-fb54c724c090 on dev-linux2:31010] (state=,code=0)
> 0: jdbc:drill:zk=local> 
> {noformat}



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

Mime
View raw message