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

Guillaume Massé updated CALCITE-6932:
-------------------------------------
    Description: 
I'm writing unparse of an Array for Snowflake and I need to access the 
nullability of SqlDataTypeSpec

[https://docs.snowflake.com/en/sql-reference/data-types-structured#specifying-a-structured-array-type]

I was using org.apache.calcite.sql.type.SqlTypeUtil.convertTypeToSpec and 
noticed it's not using type.isNullable()

 

 

  was:
I'm writing the unparse for Snowflake and I need to access the nullability of 
SqlDataTypeSpec

 

[https://docs.snowflake.com/en/sql-reference/data-types-structured#specifying-a-structured-array-type]

 

I was using org.apache.calcite.sql.type.SqlTypeUtil.convertTypeToSpec and 
noticed it's not using type.isNullable()

 

 


> SqlTypeUtil.convertTypeToSpec discard isNullable
> ------------------------------------------------
>
>                 Key: CALCITE-6932
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6932
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Guillaume Massé
>            Priority: Minor
>              Labels: pull-request-available
>
> I'm writing unparse of an Array for Snowflake and I need to access the 
> nullability of SqlDataTypeSpec
> [https://docs.snowflake.com/en/sql-reference/data-types-structured#specifying-a-structured-array-type]
> I was using org.apache.calcite.sql.type.SqlTypeUtil.convertTypeToSpec and 
> noticed it's not using type.isNullable()
>  
>  



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

Reply via email to