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/03/27 07:23:57 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #40560: [SPARK-42930][CORE][SQL] Change the access scope of `ProtobufSerDe` related implementations to `private[spark]`

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


##########
core/src/main/scala/org/apache/spark/status/protobuf/AccumulableInfoSerializer.scala:
##########
@@ -25,7 +25,7 @@ import org.apache.spark.status.api.v1.AccumulableInfo
 import org.apache.spark.status.protobuf.Utils.{getOptional, getStringField, setStringField}
 import org.apache.spark.util.Utils.weakIntern
 
-private[protobuf] object AccumulableInfoSerializer {
+private[spark] object AccumulableInfoSerializer {

Review Comment:
   Developer APIs are fine.
   
   > Do you prefer private[spark] or private[protobuf]?
   
   Whichever narrower should be preferred.



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