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

RDD.toDF should be synchronized with dispatched variants of SparkSession.createDataFrame

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • PySpark, SQL
    • None

    Description

      There are some variants that are supported:

      • Providing a schema as a str object for RDD[RowLike] objects
      • Providing a schema as a Tuple[str, ...] names
      • Calling toDF on RDD of atomic values, when schema of str or AtomicType is provided.

      Attachments

        Activity

          People

            zero323 Maciej Szymkiewicz
            zero323 Maciej Szymkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: