[
https://issues.apache.org/jira/browse/CALCITE-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609246#comment-16609246
]
Vladimir Sitnikov edited comment on CALCITE-2535 at 9/10/18 1:59 PM:
---------------------------------------------------------------------
[~zhztheplayer], have you tried cases like
{code:sql}
select * from (
select 1 from values()
union all
select 2 from values()
union all
select 0/0 as "<-- look here" from values()
)
limit 1
{code}
?
It looks like the SQL should work fine, however it might trigger
ExceptionInInitializerError.
If that kind of SQL triggers ExceptionInInitializerError, then we are in
trouble.
was (Author: vladimirsitnikov):
[~zhztheplayer], have you tried cases like
{code:sql}
select * from (
select 1 from values()
union all
select 2 from values()
union all
select 0/0 as "<-- look me" from values()
)
limit 1
{code}
?
It looks like the SQL should work fine, however it might trigger
ExceptionInInitializerError.
If that kind of SQL triggers ExceptionInInitializerError, then we are in
trouble.
> 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)