You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sunitha Kambhampati (JIRA)" <ji...@apache.org> on 2018/05/01 22:06:00 UTC
[jira] [Commented] (SPARK-23798) The CreateArray and ConcatArray
should return the default array type when no children provided
[ 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