gaborgsomogyi opened a new pull request #29024:
URL: https://github.com/apache/spark/pull/29024


   ### What changes were proposed in this pull request?
   At the moment only the baked in JDBC connection providers can be used but 
there is a need to support additional databases and use-cases. In this PR I'm 
proposing a new developer API name `JdbcConnectionProvider`. To show how an 
external JDBC connection provider can be implemented I've created an example 
[here](https://github.com/gaborgsomogyi/spark-jdbc-connection-provider).
   
   The PR contains the following changes:
   * Added connection provider developer API
   * Made JDBC connection providers constructor to noarg => needed to load them 
w/ service loader
   * Connection providers are now loaded w/ service loader
   * Added tests to load providers independently
   
   ### Why are the changes needed?
   No custom authentication possibility.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   * Existing + additional unit tests
   * Docker integration tests
   


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

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