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

Herman van Hövell resolved SPARK-49568.
---------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 48146
[https://github.com/apache/spark/pull/48146]

> Remove Self Type for Dataset
> ----------------------------
>
>                 Key: SPARK-49568
>                 URL: https://issues.apache.org/jira/browse/SPARK-49568
>             Project: Spark
>          Issue Type: New Feature
>          Components: Connect, SQL
>    Affects Versions: 4.0.0
>            Reporter: Herman van Hövell
>            Assignee: Herman van Hövell
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> We are currently using a self type for Dataset. This makes it a bit easier 
> (in Scala land) to deal with covariant parameters and return types.
> The current approach is unfortunately a bit leaky. For example the self-type 
> leaks into SparkSession and things like the Catalog. This is a bit 
> distracting especially when you use these classes in java.
> The proposal is to either remove the self-type and rely on overrides (which 
> have to anyway), or to take another stab at using type members.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to