gengliangwang commented on code in PR #39286:
URL: https://github.com/apache/spark/pull/39286#discussion_r1061217778


##########
core/src/main/scala/org/apache/spark/status/protobuf/RDDOperationGraphWrapperSerializer.scala:
##########
@@ -81,8 +80,8 @@ class RDDOperationGraphWrapperSerializer extends 
ProtobufSerDe {
   }
 
   private def serializeRDDOperationNode(node: RDDOperationNode): 
StoreTypes.RDDOperationNode = {
-    val outputDeterministicLevel = 
StoreTypes.RDDOperationNode.DeterministicLevel
-      .valueOf(node.outputDeterministicLevel.toString)
+    val outputDeterministicLevel = DeterministicLevelSerializer.serialize(

Review Comment:
   Since `DeterministicLevelSerializer` is only used here, shall we move it 
into this file?



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