srowen commented on a change in pull request #26922: [MINOR][SQL][DOC] Fix some
format issues in Dataset API Doc
URL: https://github.com/apache/spark/pull/26922#discussion_r359069139
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
##########
@@ -450,12 +450,14 @@ class Dataset[T] private[sql](
/**
* Returns a new Dataset where each record has been mapped on to the
specified type. The
* method used to map columns depend on the type of `U`:
- * - When `U` is a class, fields for the class will be mapped to columns of
the same name
- * (case sensitivity is determined by `spark.sql.caseSensitive`).
- * - When `U` is a tuple, the columns will be mapped by ordinal (i.e. the
first column will
- * be assigned to `_1`).
- * - When `U` is a primitive type (i.e. String, Int, etc), then the first
column of the
- * `DataFrame` will be used.
+ * <ul>
+ * <li>When `U` is a class, fields for the class will be mapped to columns
of the same name
Review comment:
Oh OK. Maybe I'm crazy but I thought `- foo` style lists work, but remember
that sometimes they don't unless there's a blank line above it. I'm just
wondering if that's the issue here. Or if it's not -- there are many more
instances like this in the code, no? let's fix more of them if it's necessary
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]