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

Jacek Laskowski updated SPARK-61750:
------------------------------------
    Component/s: SQL

> 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
>            Priority: Trivial
>
> {{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]

Reply via email to