[ 
https://issues.apache.org/jira/browse/SPARK-23798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460213#comment-16460213
 ] 

Sunitha Kambhampati commented on SPARK-23798:
---------------------------------------------

ArrayType.defaultConcreteType is ArrayType(NullType, containsNull = true)

But this pr [https://github.com/apache/spark/pull/18516] made changes to have 
CreateArray return the default ArrayType of elementType to be StringType.  

cc [~maropu] 

 

> The CreateArray and ConcatArray should return the default array type when no 
> children provided
> ----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-23798
>                 URL: https://issues.apache.org/jira/browse/SPARK-23798
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Marek Novotny
>            Priority: Minor
>
> The expressions should return ArrayType.defaultConcreteType.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to