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

Update API usage on pyspark pandas documents

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • Documentation, PySpark
    • None

    Description

      I found several warning messages when I tested around ported Spark Pandas API Documents (https://issues.apache.org/jira/browse/SPARK-34885).

      1.  `spark.sql.execution.arrow.enabled` on Best Practice document

      21/07/26 05:42:02 WARN SQLConf: The SQL config 'spark.sql.execution.arrow.enabled' has been deprecated in Spark v3.0 and may be removed in the future. Use 'spark.sql.execution.arrow.pyspark.enabled' instead of it.
      

       

      2. `DataFrame.to_spark_io` on From/to other DBMSes document

      /opt/spark/python/lib/pyspark.zip/pyspark/pandas/frame.py:4811: FutureWarning: Deprecated in 3.2, Use spark.to_spark_io instead. warnings.warn("Deprecated in 3.2, Use spark.to_spark_io instead.", FutureWarning)
      

       

      At this time it worked but I think it's better to update API usage on those documents.

      Attachments

        Activity

          People

            yoda-mon Leona Yoda
            yoda-mon Leona Yoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: