deepujain opened a new pull request, #57926:
URL: https://github.com/apache/spark/pull/57926

   ### Summary
   Adds coverage for the missing batch metadata error path.
   
   ### Change
   `HDFSMetadataLog.applyFnToBatchByStream` now has a focused test that checks 
`BATCH_METADATA_NOT_FOUND`, the missing batch file parameter, and SQLSTATE 
`42K03`.
   
   ### Tests
   `JAVA_HOME=/opt/homebrew/opt/openjdk@17 
PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH" ./build/sbt "sql/testOnly 
org.apache.spark.sql.errors.QueryExecutionErrorsSuite -- -z SPARK-43940"`
   
   Fixes SPARK-43940
   
   **JIRA assignee for credit:** deepujain
   


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