[ 
https://issues.apache.org/jira/browse/CALCITE-6101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Sysolyatin updated CALCITE-6101:
---------------------------------------
    Description: 
SqlCollectionTypeNameSpec uses SqlTypeNameSpec for the elementType property, 
but SqlTypeNameSpec does not provide information about nullable.

Therefore, SqlDataTypeSpec should be used for elementType instead of 
SqlTypeNameSpec, as was done for SqlMapTypeNameSpec and SqlRowTypeNameSpec.

  was:
SqlCollectionTypeNameSpec uses SqlTypeNameSpec for the elementType property, 
but SqlTypeNameSpec does not provide information about nullability.

Therefore, SqlDataTypeSpec should be used for elementType instead of 
SqlTypeNameSpec, as was done for SqlMapTypeNameSpec and SqlRowTypeNameSpec.


> SqlCollectionTypeNameSpec should preserve nullable property of element type
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-6101
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6101
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.35.0, 1.36.0
>            Reporter: Dmitry Sysolyatin
>            Priority: Major
>
> SqlCollectionTypeNameSpec uses SqlTypeNameSpec for the elementType property, 
> but SqlTypeNameSpec does not provide information about nullable.
> Therefore, SqlDataTypeSpec should be used for elementType instead of 
> SqlTypeNameSpec, as was done for SqlMapTypeNameSpec and SqlRowTypeNameSpec.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to