LuciferYang commented on code in PR #40654:
URL: https://github.com/apache/spark/pull/40654#discussion_r1168910146


##########
connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/ClientE2ETestSuite.scala:
##########
@@ -863,6 +866,46 @@ class ClientE2ETestSuite extends RemoteSparkSession with 
SQLHelper {
     }.getMessage
     assert(message.contains("PARSE_SYNTAX_ERROR"))
   }
+
+  test("protobuf functions") {
+    assert(IntegrationTestUtils.isSparkProtobufJarAvailable)
+    // scalastyle:off line.size.limit
+    // If `common.desc` needs to be updated, execute the following command to 
regenerate it:
+    //  1. cd connector/connect/common/src/main/protobuf/spark/connect
+    //  2. protoc --include_imports 
--descriptor_set_out=../../../../test/resources/protobuf-tests/common.desc 
common.proto
+    // scalastyle:on line.size.limit
+    val descPath = {

Review Comment:
   find the way to test with `PlanGenerationTestSuite`



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