You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/10/08 10:41:00 UTC

[jira] [Created] (CALCITE-4319) NPE in TopDownRuleDriver#convert when convention is not enabled

Vladimir Sitnikov created CALCITE-4319:
------------------------------------------

             Summary: NPE in TopDownRuleDriver#convert when convention is not enabled
                 Key: CALCITE-4319
                 URL: https://issues.apache.org/jira/browse/CALCITE-4319
             Project: Calcite
          Issue Type: Sub-task
          Components: core
            Reporter: Vladimir Sitnikov


{code:java}    VolcanoRuleMatch match = ruleQueue.popMatch(
        Pair.of(rel,
            m -> m.getRule() instanceof ConverterRule
                && m.getRule().getOutTrait().satisfies(group.getTraitSet().getConvention())));
{code}

satisfies(null) fails with NPE




--
This message was sent by Atlassian Jira
(v8.3.4#803005)