spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunitha Kambhampati (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-23798) The CreateArray and ConcatArray should return the default array type when no children provided
Date Tue, 01 May 2018 22:06:00 GMT

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message