Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/16997#discussion_r102134319
--- Diff: docs/sql-programming-guide.md ---
@@ -297,6 +297,9 @@ reflection and become the names of the columns. Case
classes can also be nested
types such as `Seq`s or `Array`s. This RDD can be implicitly converted to
a DataFrame and then be
registered as a table. Tables can be used in subsequent SQL statements.
+Spark Encoders are used to convert a JVM object to Spark SQL
representation. To create dataset, spark requires an encoder which takes the
form of <b>Encoder[T]</b> where <b>T</b> is the type which has to be encoded.
Creation of a dataset with a custom type of object, may result into
<b>java.lang.UnsupportedOperationException: No Encoder found for
Object-Name</b>.
--- End diff --
It is trivial.. but maybe `spark` -> `Spark`? I am not an expert in grammar
but up to my knowledge, capitalizing a proper noun is correct.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]