HyukjinKwon commented on code in PR #47806: URL: https://github.com/apache/spark/pull/47806#discussion_r1722571335
########## 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: Should it be 4.0.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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org