HyukjinKwon commented on code in PR #42366:
URL: https://github.com/apache/spark/pull/42366#discussion_r1285276555
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/Encoders.scala:
##########
@@ -178,6 +178,12 @@ object Encoders {
*/
def bean[T](beanClass: Class[T]): Encoder[T] =
ExpressionEncoder.javaBean(beanClass)
+ /**
+ * Creates a [[Row]] encoder for schema `schema`.
+ * Since: 3.5.0
Review Comment:
```suggestion
* Creates a [[Row]] encoder for schema `schema`.
*
* @since 3.5.0
```
##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Encoders.scala:
##########
@@ -168,6 +169,11 @@ object Encoders {
*/
def bean[T](beanClass: Class[T]): Encoder[T] =
JavaTypeInference.encoderFor(beanClass)
+ /**
+ * Creates a [[Row]] encoder for schema `schema`. Since: 3.5.0
Review Comment:
```suggestion
* Creates a [[Row]] encoder for schema `schema`.
*
* @since 3.5.0
```
--
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]