HyukjinKwon commented on PR #47716:
URL: https://github.com/apache/spark/pull/47716#issuecomment-2300765050

   Let's also fix the test failure:
   
   ```
   [info] - SPARK-49121: from_protobuf and to_protobuf SQL functions *** FAILED 
*** (622 milliseconds)
   [info]   152 did not equal 153 Invalid stopIndex of a query context. 
Actual:SQLQueryContext(Some(2),Some(7),Some(8),Some(152),Some(
   [info]   SELECT from_protobuf(protobuf_data, 42, 
'/home/runner/work/spark/spark/connector/protobuf/target/generated-test-sources/descriptor-set-sbt.desc',
 map())
   [info]   FROM (
   [info]   SELECT
   [info]     to_protobuf(
   [info]       complex_struct, 'SimpleMessageJavaTypes', 
'/home/runner/work/spark/spark/connector/protobuf/target/generated-test-sources/descriptor-set-sbt.desc',
 map()
   [info]     ) AS protobuf_data
   [info]   FROM protobuf_test_table
   [info]   )
   [info]   ),None,None) (SparkFunSuite.scala:376)
   [info]   org.scalatest.exceptions.TestFailedException:
   [info]   at 
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
   [info]   at 
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
   [info]   at 
org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
   [info]   at 
org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
   [info]   at 
org.apache.spark.SparkFunSuite.$anonfun$checkError$4(SparkFunSuite.scala:376)
   [info]   at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
   [info]   at 
org.apache.spark.SparkFunSuite.checkError(SparkFunSuite.scala:366)
   [info]   at 
org.apache.spark.sql.protobuf.ProtobufFunctionsSuite.$anonfun$new$151(ProtobufFunctionsSuite.scala:2159)
   [info]   at 
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
   [info]   at 
org.apache.spark.util.SparkErrorUtils.tryWithSafeFinally(SparkErrorUtils.scala:64)
   [info]   at 
org.apache.spark.util.SparkErrorUtils.tryWithSafeFinally$(SparkErrorUtils.scala:61)
   [info]   at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:99)
   [info]   at 
org.apache.spark.sql.test.SQLTestUtilsBase.withTable(SQLTestUtils.scala:308)
   [info]   at 
org.apache.spark.sql.test.SQLTestUtilsBase.withTable$(SQLTestUtils.scala:306)
   [info]   at 
org.apache.spark.sql.protobuf.ProtobufFunctionsSuite.withTable(ProtobufFunctionsSuite.scala:37)
   [info]   at 
org.apache.spark.sql.protobuf.ProtobufFunctionsSuite.$anonfun$new$150(ProtobufFunctionsSuite.scala:2046)
   [info]   at 
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
   ```


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