[
https://issues.apache.org/jira/browse/CALCITE-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609178#comment-16609178
]
Hongze Zhang edited comment on CALCITE-2535 at 9/10/18 1:25 PM:
----------------------------------------------------------------
bq. I meant unwrapping ExceptionInInitializerError in the Calcite code, not in
the test code.
At first I thought unwrapping an ExceptionInInitializerError at runtime is not
the most graceful way to solve this problem, but I am agree with you now, just
unwrapping the error makes change pretty simple, and graceful enough. I have
opened another new [PR|https://github.com/apache/calcite/pull/823] for the
unwrapping version.
was (Author: zhztheplayer):
bq. I meant unwrapping ExceptionInInitializerError in the Calcite code, not in
the test code.
At first I thought unwrapping an ExceptionInInitializerError at runtime is not
the most graceful way to solve this problem, but I am agree with you now, just
unwrapping the error makes change pretty simple, and graceful enough. I have
opening another new [PR|https://github.com/apache/calcite/pull/823] for the
unwrapping version.
> 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)