You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "HyukjinKwon (via GitHub)" <gi...@apache.org> on 2023/08/06 23:32:25 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #42366: [SPARK-44686][CONNECT][SQL] Add the ability to create a RowEncoder in Encoders.scala.

HyukjinKwon commented on code in PR #42366:
URL: https://github.com/apache/spark/pull/42366#discussion_r1285276527


##########
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org