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

Julian Hyde commented on CALCITE-4162:
--------------------------------------

I don't accept the premise that the only goal is 'safety'. Invariants don't 
have to be checked to be useful.

> Review the usage of assertions
> ------------------------------
>
>                 Key: CALCITE-4162
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4162
>             Project: Calcite
>          Issue Type: Task
>            Reporter: Ruben Q L
>            Priority: Minor
>
> As seen in CALCITE-4156, sometimes assertions are not the safest mechanism to 
> verify assumptions, since they can be deactivated.
> The purpose of this ticket is to review them, and potentially replace some of 
> them by exceptions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to