You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Asif (Jira)" <ji...@apache.org> on 2024/09/20 04:01:00 UTC
[jira] [Created] (SPARK-49727) A Bean class with a serializable POJO field looses data when converted back from dataframe, as dataset
Asif created SPARK-49727:
----------------------------
Summary: A Bean class with a serializable POJO field looses data when converted back from dataframe, as dataset
Key: SPARK-49727
URL: https://issues.apache.org/jira/browse/SPARK-49727
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.5.2, 4.0.0
Reporter: Asif
If a Bean class contains a serializable POJO ( without any getter/setter) property, the encoder does not convert it into Binary Type, and looses the information.
Using that encoder , we can convert the Dataset of Bean to dataframe.
But When the dataframe is converted back to dataset, the serializable Pojo field in the bean remains null.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org