You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2018/09/05 18:08:00 UTC
[jira] [Commented] (CALCITE-2535) Runtime failure check not working
in SqlTesterImpl.java
[ https://issues.apache.org/jira/browse/CALCITE-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604736#comment-16604736 ]
Julian Hyde commented on CALCITE-2535:
--------------------------------------
Agreed. In order to get those tests to pass we need to give functions the ability to yield exceptions (search for "FNL-3" in the code). I propose that we fix both of these at the same time. The latter will need changes to {{RexToLixTranslator.translateCall}} or thereabouts.
> 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)