You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Laurent Goujon (JIRA)" <ji...@apache.org> on 2018/05/31 03:08:00 UTC
[jira] [Created] (CALCITE-2342) use of assert with side-effect in
Schemas
Laurent Goujon created CALCITE-2342:
---------------------------------------
Summary: use of assert with side-effect in Schemas
Key: CALCITE-2342
URL: https://issues.apache.org/jira/browse/CALCITE-2342
Project: Calcite
Issue Type: Bug
Components: core
Reporter: Laurent Goujon
Assignee: Laurent Goujon
{{Schemas#path(CalciteSchema,Iterable<String>)}} method has the following code:
{code:java}
if (!rootSchema.name.isEmpty()) {
assert rootSchema.name.equals(iterator.next());
}
{code}
Depending if assertions are enabled or not, iterator state might be different
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)