You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/06/02 12:35:00 UTC

[jira] [Updated] (SPARK-52352) pyspark.sql.functions.to_json should mention Variant as valid type

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

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

> pyspark.sql.functions.to_json should mention Variant as valid type
> ------------------------------------------------------------------
>
>                 Key: SPARK-52352
>                 URL: https://issues.apache.org/jira/browse/SPARK-52352
>             Project: Spark
>          Issue Type: Documentation
>          Components: PySpark
>    Affects Versions: 4.0.0
>            Reporter: Austin Warner
>            Priority: Minor
>              Labels: pull-request-available
>
> The docstring for {{pyspark.sql.functions.to_json}} has not been updated in 4.0.0 to include {{Variant}} as as valid input type. An update should probably include a reference to {{VariantType}} in the summary line, as well as an example showing a {{VariantType}} being cast to JSON.



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