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

Un-deprecate inferring DataFrame schema from list of dictionaries

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: PySpark, SQL
    • Labels:
      None

      Description

      Inferring the schema of a DataFrame from a list of dictionaries feels natural for PySpark users, and also mirrors basic functionality in Pandas.

      This is currently possible in PySpark but comes with a deprecation warning. We should un-deprecate this behavior if there are no deeper reasons to discourage users from this API, beyond wanting to push them to use Row.

        Attachments

          Activity

            People

            • Assignee:
              nchammas Nicholas Chammas
              Reporter:
              nchammas Nicholas Chammas
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: