[
https://issues.apache.org/jira/browse/CALCITE-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604765#comment-16604765
]
Hongze Zhang edited comment on CALCITE-2535 at 9/5/18 6:39 PM:
---------------------------------------------------------------
[~julianhyde] Thanks for your suggestion.
I have started a possible fix work is at [my
repo](https://github.com/zhztheplayer/calcite/tree/2535)
Several test failures in SqlOperatorBaseTest pop up after simply making
SqlTesterImpl#checkFails check the runtime exception wrapped in
ExceptionInInitializerError.(This is a very tentative work, not touching
RexToLixTranslator yet)
was (Author: zhztheplayer):
[~julianhyde] Thanks for your suggestion.
I have started a possible fix work is at [my
repo](https://github.com/zhztheplayer/calcite/tree/2535)
Several test failures in SqlOperatorBaseTest pop up after simply making
SqlTesterImpl#checkFails check the runtime exception wrapped in
ExceptionInInitializerError.(This is a very tentative work)
> 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)