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

   ### What changes were proposed in this pull request?
   This PR adds a shared SparkSessionBuilder interface.
   
   It also adds a SparkSessionCompanion interface which is mean should be 
implemented by all SparkSession companions (a.k.a. `object SparkSession`. This 
is currently the entry point for session building, in the future we will also 
add the management of active/default sessions.
   
   Finally we add a companion for api.SparkSession. This will bind the 
implementation that is currently located in `org.apache.spark.sql`. This makes 
it possible to exclusively work with the interface, instead of selecting an 
implementation upfront.
   
   ### Why are the changes needed?
   We are creating a shared Scala SQL interface. Building a session is part of 
this interface.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Existing tests. I have added tests for the implementation binding.
   
   ### 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