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 2023/11/10 08:13:00 UTC

[jira] [Assigned] (SPARK-45852) Gracefully deal with recursion exception during Spark Connect logging

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

Hyukjin Kwon reassigned SPARK-45852:
------------------------------------

    Assignee: Martin Grund

> Gracefully deal with recursion exception during Spark Connect logging
> ---------------------------------------------------------------------
>
>                 Key: SPARK-45852
>                 URL: https://issues.apache.org/jira/browse/SPARK-45852
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: 3.5.0
>            Reporter: Martin Grund
>            Assignee: Martin Grund
>            Priority: Major
>              Labels: pull-request-available
>
> ```
> from google.protobuf.text_format import MessageToString
> from pyspark.sql.functions import col, lit
> df = spark.range(10)
> for x in range(800):
>   df = df.withColumn(f"next{x}", lit(1))
>   MessageToString(df._plan.to_proto(spark._client), as_one_line=True)
> ```



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