rangadi commented on code in PR #38515:
URL: https://github.com/apache/spark/pull/38515#discussion_r1015782259


##########
connector/protobuf/src/test/scala/org/apache/spark/sql/protobuf/ProtobufFunctionsSuite.scala:
##########
@@ -677,4 +677,34 @@ class ProtobufFunctionsSuite extends QueryTest with 
SharedSparkSession with Seri
           === inputDf.select("durationMsg.duration").take(1).toSeq(0).get(0))
     }
   }
+
+  test("raise cannot construct protobuf descriptor error") {
+    val basicMessageDesc = ProtobufUtils.buildDescriptor(testFileDesc, 
"BasicMessage")
+
+    val basicMessage = DynamicMessage

Review Comment:
   Btw, you don't need the message. Could use empty byte array while 
initializing `df`. 



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