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

   ### What changes were proposed in this pull request?
   
   We were previously calling `SQLMetric.set(-1)` when we couldn't compute the 
value of `numDeletedRows` metric. However, this call was a no-op, and we 
reported this metric in the write summary as 0 instead. This PR fixes it to 
report -1 as intended.
   
   ### Why are the changes needed?
   
   Fix the bug above.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Manually verified.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.7


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