You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/04/04 01:43:52 UTC

[jira] [Commented] (DRILL-2680) Assertions and thrown AssertionsErrors should include some message text

    [ https://issues.apache.org/jira/browse/DRILL-2680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395278#comment-14395278 ] 

Daniel Barclay (Drill) commented on DRILL-2680:
-----------------------------------------------

Here's an example of an assertion with no message--where SOMETHING is needed.

> SELECT CAST( 0 AS FLOAT(2) ) FROM INFORMATION_SCHEMA.CATALOGS;
Query failed: AssertionError: 

Error: exception while executing query: Failure while executing query. (state=,code=0)
> 


> Assertions and thrown AssertionsErrors should include some message text
> -----------------------------------------------------------------------
>
>                 Key: DRILL-2680
>                 URL: https://issues.apache.org/jira/browse/DRILL-2680
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Daniel Barclay (Drill)
>
> Drill seems to have a lot of "assert ..." statements and "throw new AssertionError()" cases that include no message text.
> Many of them should at least include a phrase or two about what's wrong.



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