TheR1sing3un commented on issue #14194:
URL: https://github.com/apache/hudi/issues/14194#issuecomment-3483395263

   > can you elaborate a little bit why this change is necessary?
   
   I found that in the current ut, in many places, the spark configuration was 
directly changed in the form of `spark.sql(set xxx = yyy)` in a certain test. 
However, after the test case ended, these set parameters were not restored. 
This further leads to other tests sharing the same spark context having 
unexpected behaviors. Currently, very unelegant methods are used in various 
places to handle this, that is, when a conf is found to be overwritten by other 
UTs, it is manually unsetting, similar to this: 
   
   <img width="664" height="793" alt="Image" 
src="https://github.com/user-attachments/assets/c569a5c1-bd74-4263-aff6-73d4a02d177d";
 />


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

Reply via email to