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/10 22:20:00 UTC

[jira] [Created] (CALCITE-4326) NPE possible win EnumerableWindow when agg.call.name is null

Vladimir Sitnikov created CALCITE-4326:
------------------------------------------

             Summary: NPE possible win EnumerableWindow when agg.call.name is null
                 Key: CALCITE-4326
                 URL: https://issues.apache.org/jira/browse/CALCITE-4326
             Project: Calcite
          Issue Type: Sub-task
          Components: core
    Affects Versions: 1.26.0
            Reporter: Vladimir Sitnikov


{code:java}
      final RelDataTypeFactory.Builder typeBuilder = typeFactory.builder();
      typeBuilder.addAll(inputPhysType.getRowType().getFieldList());
      for (AggImpState agg : aggs) {
        typeBuilder.add(agg.call.name, agg.call.type);
      }
{code}

AggregateCall#name is nullable



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