You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:34:49 UTC
[jira] [Resolved] (SPARK-12787) Dataset to support custom encoder
[ https://issues.apache.org/jira/browse/SPARK-12787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-12787.
----------------------------------
Resolution: Incomplete
> Dataset to support custom encoder
> ---------------------------------
>
> Key: SPARK-12787
> URL: https://issues.apache.org/jira/browse/SPARK-12787
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 1.6.0
> Reporter: Muthu Jayakumar
> Priority: Major
> Labels: bulk-closed
>
> The current Dataset API allows to be loaded using a case-class that requires the the attribute name and types to be match up precisely.
> It would be nicer, if a Partial function can be provided as a parameter to transform the Dataframe like schema into Dataset.
> Something like...
> test_dataframe.as[TestCaseClass](partial_function)
--
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