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

ASF GitHub Bot updated SPARK-55396:
-----------------------------------
    Labels: pull-request-available  (was: )

> support for java.lang.record in bean encoder
> --------------------------------------------
>
>                 Key: SPARK-55396
>                 URL: https://issues.apache.org/jira/browse/SPARK-55396
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 4.2.0
>            Reporter: Steven Aerts
>            Priority: Major
>              Labels: pull-request-available
>
> The bean encoder of spark does not support java records yet.
> We made a pull request extending the bean encoder with support for them:
> {code:java}
> record Person(String name, int age) {}
> ...
> var ds = spark.createDataset(List.of(new Person("Alice", 25)), 
> Encoders.bean(Person.class));{code}



--
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