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 2023/11/09 12:03:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated SPARK-45852:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> 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