You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Amrane Ait Zeouay (Jira)" <ji...@apache.org> on 2022/10/07 22:20:00 UTC
[jira] [Updated] (SPARK-40705) Issue with spark converting Row to Json using Scala 2.13
[ https://issues.apache.org/jira/browse/SPARK-40705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amrane Ait Zeouay updated SPARK-40705:
--------------------------------------
Summary: Issue with spark converting Row to Json using Scala 2.13 (was: Issue with spark converting Row to Json)
> Issue with spark converting Row to Json using Scala 2.13
> --------------------------------------------------------
>
> Key: SPARK-40705
> URL: https://issues.apache.org/jira/browse/SPARK-40705
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Amrane Ait Zeouay
> Priority: Major
> Attachments: image-2022-10-07-19-43-42-232.png, image-2022-10-07-19-43-51-892.png, image-2022-10-07-19-44-00-332.png, image-2022-10-07-19-44-09-972.png
>
>
> When I'm trying to convert the Row to a json to publish it, i'm getting this following error
> !image-2022-10-07-19-43-42-232.png!
> I tried to investigate and I found that the issue is in the matching.
> !image-2022-10-07-19-43-51-892.png!
> The type `ArraySeq` is not matched in `Row` class.
> !image-2022-10-07-19-44-00-332.png!
> This is the definition of my field
> !image-2022-10-07-19-44-09-972.png!
> And an example of it
>
> {code:java}
> {
> ...
> Codes: ["Test", "Spark", "Json"]
> ...
> }{code}
> The Scala version I'm using is `2.13.9`
--
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