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

Jiatao Tao updated CALCITE-4059:
--------------------------------
    Description: 
Current equalSansNullability only considers the atomic type, not support 
Array/Map(struct type can be supported by equalAsStructSansNullability).

This Jira mainly supports Array/MULTISET/Map type equal sans nullability
 # equalSansNullability, handles atomic type
 # equalAsCollectionSansNullability, handles type ARRAY/MULTISET
 # equalAsMapSansNullability, handles type MAP
 # equalAsStructSansNullability, handles type struct

  was:
Current equalSansNullability only considers the atomic type, not support 
Array/Map(struct type can be supported by equalAsStructSansNullability).

This Jira mainly supports Array/Map type in SqlTypeUtil#equalSansNullabilityI, 
the nullability of the type or the element of the type will be discarded, the 
case is in testEqualSansNullability.


> SqlTypeUtil#equalSansNullability doesn't consider Array/Map
> -----------------------------------------------------------
>
>                 Key: CALCITE-4059
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4059
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jiatao Tao
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Current equalSansNullability only considers the atomic type, not support 
> Array/Map(struct type can be supported by equalAsStructSansNullability).
> This Jira mainly supports Array/MULTISET/Map type equal sans nullability
>  # equalSansNullability, handles atomic type
>  # equalAsCollectionSansNullability, handles type ARRAY/MULTISET
>  # equalAsMapSansNullability, handles type MAP
>  # equalAsStructSansNullability, handles type struct



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

Reply via email to