dongjoon-hyun commented on PR #49473:
URL: https://github.com/apache/spark/pull/49473#issuecomment-2590127991

   Hi, @siying , @HyukjinKwon , @cloud-fan , unfortunately, this streaming 
failure hides the real `connect` module failure.
   - https://github.com/apache/spark/actions/runs/12764965488/job/35578198872
   ```
   $ build/sbt "connect/testOnly 
org.apache.spark.sql.connect.ProtoToParsedPlanTestSuite"
   ...
   [info] *** 4 TESTS FAILED ***
   [error] Failed tests:
   [error]      org.apache.spark.sql.connect.ProtoToParsedPlanTestSuite
   [error] (connect / Test / testOnly) sbt.TestsFailedException: Tests 
unsuccessful
   [error] Total time: 152 s (02:32), completed Jan 14, 2025, 6:47:51 AM
   M3-Max ~s:master $ build/sbt "connect/testOnly 
org.apache.spark.sql.connect.ProtoToParsedPlanTestSuite"
   ```
   
   The error message is clear, `The first argument of the TO_PROTOBUF SQL 
function must be a struct type`.
   ```
   [info] - to_protobuf_messageClassName_descFilePath_options *** FAILED *** (3 
milliseconds)
   [info]   org.apache.spark.sql.catalyst.ExtendedAnalysisException: 
[DATATYPE_MISMATCH.TYPE_CHECK_FAILURE_WITH_HINT] Cannot resolve 
"to_protobuf(bytes, StorageLevel, 
X'0AFC010A0C636F6D6D6F6E2E70726F746F120D737061726B2E636F6E6E65637422B0010A0C53746F726167654C6576656C12190A087573655F6469736B18012001280852077573654469736B121D0A0A7573655F6D656D6F727918022001280852097573654D656D6F727912200A0C7573655F6F66665F68656170180320012808520A7573654F66664865617012220A0C646573657269616C697A6564180420012808520C646573657269616C697A656412200A0B7265706C69636174696F6E180520012805520B7265706C69636174696F6E42220A1E6F72672E6170616368652E737061726B2E636F6E6E6563742E70726F746F5001620670726F746F33',
 map(recursive.fields.max.depth, 2))" due to data type mismatch: The first 
argument of the TO_PROTOBUF SQL function must be a struct type. SQLSTATE: 42K09;
   ```
   
   Let me revert this.


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