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

Hongze Zhang commented on CALCITE-2535:
---------------------------------------

 
{quote}Well, if the only issue is ExceptionInInitializerError, could we just 
unwrap that exception then?
{quote}
Yes, since this is just a possible fix, If you don't mind, I could provide 
another fix alternative to unwrap the error in a test util.

But just put the testing aside, I suspect that user would rather like to see 
the original error than the ExceptionInInitializerError too when the user SQL 
runs to failure.

Since I am not an expert user of Calcite, correct me if I am wrong.

> Runtime failure check not working in SqlTesterImpl.java
> -------------------------------------------------------
>
>                 Key: CALCITE-2535
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2535
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Hongze Zhang
>            Assignee: Julian Hyde
>            Priority: Major
>
> Problem at SqlTesterImpl#checkFails:
> When argument "runtime" is specified as true, error assertion and error 
> message matching will not be performed.
> This issue could result in wrong test result in SqlOperatorBaseTest.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to