[
https://issues.apache.org/jira/browse/SPARK-49568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-49568:
-----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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]