[
https://issues.apache.org/jira/browse/SPARK-61750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Holden Karau resolved SPARK-61750.
----------------------------------
Fix Version/s: 5.0.0
Resolution: Fixed
Issue resolved by pull request 60532
[https://github.com/apache/spark/pull/60532]
> Make Language.Python/Sql case objects
> -------------------------------------
>
> Key: SPARK-61750
> URL: https://issues.apache.org/jira/browse/SPARK-61750
> Project: Spark
> Issue Type: Improvement
> Components: Declarative Pipelines, SQL
> Affects Versions: 4.3.0, 5.0.0
> Reporter: Jacek Laskowski
> Assignee: Jacek Laskowski
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 5.0.0
>
>
> {{Language.Python}} and {{Language.Sql}} carry no state, so model them as
> case objects rather than empty case classes.
> Use {{Some(Python)}} / {{Some(Sql)}} rather than {{Option(Python())}} and
> {{{}Option(Sql()){}}}.
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]