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

   ### What changes were proposed in this pull request?
   
   This PR proposes to make dev/is-changed.py to return true it it fails
   
   ### Why are the changes needed?
   
   To make the test robust. GitHub Actions sometimes fail to set the hash for 
commit properly, e.g., 
https://github.com/apache/spark/actions/runs/9244026522/job/25435224163?pr=46747
   
   ### Does this PR introduce _any_ user-facing change?
   
   ### How was this patch tested?
   
   Manually tested:
   
   ```bash
   GITHUB_SHA=a29c9653f3d48d97875ae446d82896bdf0de61ca 
GITHUB_PREV_SHA=0000000000000000000000000000000000000000 ./dev/is-changed.py -m 
root
   ```
   
   ```bash
   a=`GITHUB_SHA=a29c9653f3d48d97875ae446d82896bdf0de61ca 
GITHUB_PREV_SHA=0000000000000000000000000000000000000000 ./dev/is-changed.py -m 
root`
   echo $a
   ```
   
   ```bash
   GITHUB_SHA=a29c9653f3d48d97875ae446d82896bdf0de61ca 
GITHUB_PREV_SHA=3346afd4b250c3aead5a237666d4942018a463e0 ./dev/is-changed.py -m 
root
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


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