[
https://issues.apache.org/jira/browse/SPARK-36894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438141#comment-17438141
]
Apache Spark commented on SPARK-36894:
--------------------------------------
User 'zero323' has created a pull request for this issue:
https://github.com/apache/spark/pull/34478
> RDD.toDF should be synchronized with dispatched variants of
> SparkSession.createDataFrame
> ----------------------------------------------------------------------------------------
>
> Key: SPARK-36894
> URL: https://issues.apache.org/jira/browse/SPARK-36894
> Project: Spark
> Issue Type: Improvement
> Components: PySpark, SQL
> Affects Versions: 3.1.2, 3.2.0, 3.3.0
> Reporter: Maciej Szymkiewicz
> Assignee: Maciej Szymkiewicz
> Priority: Minor
> Fix For: 3.3.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]