HyukjinKwon commented on code in PR #37011:
URL: https://github.com/apache/spark/pull/37011#discussion_r913420135
##########
sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala:
##########
@@ -464,6 +464,25 @@ class Dataset[T] private[sql](
*/
def as[U : Encoder]: Dataset[U] = Dataset[U](sparkSession, logicalPlan)
+ /**
+ * Returns a new DataFrame where each row is reconciled to match the
specified schema. Spark will:
+ * - Reorder columns and/or inner fields by name to match the specified
schema.
Review Comment:
nit: should use a HTML list like:
```
<ul>
<li>...
```
for Javadoc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]