hvanhovell commented on code in PR #47806:
URL: https://github.com/apache/spark/pull/47806#discussion_r1722574347


##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Encoders.scala:
##########
@@ -176,6 +177,32 @@ object Encoders {
    */
   def row(schema: StructType): Encoder[Row] = 
RowEncoderFactory.encoderFor(schema)
 
+  /**
+   * (Scala-specific) Creates an encoder that serializes objects of type T 
using generic Java
+   * serialization. This encoder maps T into a single byte array (binary) 
field.
+   *
+   * T must be publicly accessible.
+   *
+   * @note
+   *   This is extremely inefficient and should only be used as the last 
resort.
+   * @since 1.6.0

Review Comment:
   It does not really matter, since this file will be merged with the one in 
sql/core in a couple of weeks.



-- 
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]

Reply via email to