You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/07/18 20:51:00 UTC

[jira] [Assigned] (SPARK-39794) Introduce parametric singleton for DataType

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

Apache Spark reassigned SPARK-39794:
------------------------------------

    Assignee:     (was: Apache Spark)

> Introduce parametric singleton for DataType
> -------------------------------------------
>
>                 Key: SPARK-39794
>                 URL: https://issues.apache.org/jira/browse/SPARK-39794
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 3.4.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> As per [https://github.com/apache/spark/pull/37173#discussion_r921990449|https://github.com/apache/spark/pull/37173#discussion_r921990449,] ,
> we ought to make `DataTypeSingleton` parametric.
> Otherwise, we will create a new DataType instance (with parameters in constructors, e.g. `Varchar`, `DecimalTime`) every time it's called.
>  



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

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