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/09/02 18:29:00 UTC

[jira] [Created] (CALCITE-4216) Ensure org.apache.calcite.rel.type.RelDataType#getSqlTypeName is non-null

Vladimir Sitnikov created CALCITE-4216:
------------------------------------------

             Summary: Ensure org.apache.calcite.rel.type.RelDataType#getSqlTypeName is non-null
                 Key: CALCITE-4216
                 URL: https://issues.apache.org/jira/browse/CALCITE-4216
             Project: Calcite
          Issue Type: Sub-task
          Components: core
    Affects Versions: 1.25.0
            Reporter: Vladimir Sitnikov


Existing code treats RelDataType#getSqlTypeName as non-nullable, and org.apache.calcite.rel.type.RelDataTypeImpl#getSqlTypeName implements the method as {{return null}}, howeve, RelDataTypeImpl is abstract.

We should make it explicit that getSqlTypeName should be non-null.




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