sven-weber-db commented on code in PR #55768:
URL: https://github.com/apache/spark/pull/55768#discussion_r3273579154


##########
udf/worker/core/src/main/scala/org/apache/spark/udf/worker/core/UDFDispatcherFactory.scala:
##########
@@ -14,21 +14,28 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+package org.apache.spark.udf.worker.core
 
-package org.apache.spark.sql.connector.write;
-
-import org.apache.spark.annotation.Evolving;
+import org.apache.spark.annotation.Experimental
+import org.apache.spark.udf.worker.UDFWorkerSpecification
 
 /**
- * Provides an informational summary of the INSERT operation producing write.
+ * :: Experimental ::
+ * Creates [[WorkerDispatcher]] instances.
  *
- * @since 4.2.0
+ * Implementations are passed to [[UDFDispatcherManager]] which
+ * handles caching and shutdown.
  */
-@Evolving
-public interface InsertSummary extends WriteSummary {
+@Experimental
+trait UDFDispatcherFactory {

Review Comment:
   Not yet. Implementing this trait requires an end-to-end implementation of 
the `Dispatcher`. However, the only `Dispatcher` to exist at the moment is the 
`DirectWorkerDispatcher`, which still has abstract, non-implemented functions 
for session creation. We need to wait for @haiyangsun-db's second PR to land 
before we can implement this trait. 



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