Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-45852

Gracefully deal with recursion exception during Spark Connect logging

    XMLWordPrintableJSON

Details

    Description

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

      ```

      Attachments

        Issue Links

          Activity

            People

              grundprinzip-db Martin Grund
              grundprinzip-db Martin Grund
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: