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

   ### What changes were proposed in this pull request?
   Changing `java_gateway.py` and verious .cmd files so ampersands will be 
escaped using triple carets (^^^) on windows system
   
   
   ### Why are the changes needed?
   On windows system, spark-submit is operated by running a chain .cmd files, 
this flow didn't handled ampersands (&) correctly so in each step, if the 
arguments that were passed to the next .cmd file/java contained an ampersand, 
the flags were truncated up to the location of the first ampersand
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   The previous behaviour couldn't handle configs with parameters, and the new 
one can
   
   
   ### How was this patch tested?
   This patch was tested on multiple windows machines across the company that 
work at
   
   
   ### 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