spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-26244) Do not use case class as public API
Date Sun, 02 Dec 2018 03:22:00 GMT

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

Wenchen Fan updated SPARK-26244:
--------------------------------
    Description: 
It's a bad idea to use case class as public API, as it has a very wide surface. For example,
the copy method, its fields, the companion object, etc.

I don't think we expect to expose so many stuff to end users, and usually we only want to
expose a few methods.

> Do not use case class as public API
> -----------------------------------
>
>                 Key: SPARK-26244
>                 URL: https://issues.apache.org/jira/browse/SPARK-26244
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, SQL
>    Affects Versions: 3.0.0
>            Reporter: Wenchen Fan
>            Priority: Major
>
> It's a bad idea to use case class as public API, as it has a very wide surface. For example,
the copy method, its fields, the companion object, etc.
> I don't think we expect to expose so many stuff to end users, and usually we only want
to expose a few methods.



--
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