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

   
   
   ### What changes were proposed in this pull request?
   Convert the JDBC isolation level to a string.
   
   
   ### Why are the changes needed?
   Improve log readability.
   **Before:**
   ```
   26/01/07 00:25:50 WARN [Executor task launch worker for task 0.0 in stage 
1.0 (TID 1)] JdbcUtils: Requested isolation level 1, but transactions are 
unsupported
   ```
   
   **After:**
   ```
   26/01/09 11:29:07 WARN [Executor task launch worker for task 0.0 in stage 
1.0 (TID 1)] JdbcUtils: Requested isolation level READ_UNCOMMITTED, but 
transactions are unsupported
   ```
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   No
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


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