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

   ### What changes were proposed in this pull request?
   The documentation shows that the scope of jdbc's option is read/write, but 
after looking at the source code and testing it, it should actually only be 
read.
   This error has persisted for multiple versions and is still not fixed.
   
   source code:
   
https://github.com/apache/spark/blob/a661f9f305d96331338938e14b6ea0075f234aee/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCOptions.scala#L287
   code snippet:
   
![SnBKfLO4Fu](https://github.com/user-attachments/assets/93162fc6-fd3f-4c7a-8e36-413c50e3d8ff)
   test snippet:
   
![WWWQRqH6jS](https://github.com/user-attachments/assets/07e3191e-406e-46aa-85a9-9c7902892db3)
   
   
   
   ### Why are the changes needed?
   This avoids user confusion about the use of this option and avoids errors in 
its use
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   No testing required, just modifying the document
   
   
   ### 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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to