This is an automated email from the ASF dual-hosted git repository.

bobbai00 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new bc2776ed4f chore(dependencies): drop `mysql-connector-java` (#4386)
bc2776ed4f is described below

commit bc2776ed4fb6f608ed04d23db25c17092d36a227
Author: Jiadong Bai <[email protected]>
AuthorDate: Mon Apr 20 12:11:47 2026 -0700

    chore(dependencies): drop `mysql-connector-java` (#4386)
    
    ### What changes were proposed in this PR?
    
    Drop the `mysql-connector-java` (GPLv2, ASF [Category
    X](https://www.apache.org/legal/resolved.html#category-x)) dependency.
    
    `MySQLSourceOpDesc` is kept as a deprecated back-compat stub so that
    workflows previously saved with a `MySQLSource` node still deserialize.
    
    ### Any related issues, documentation, discussions?
    
    Closes #4393
    
    ### How was this PR tested?
    
    `sbt WorkflowExecutionService/compile` and `sbt
    WorkflowExecutionService/Test/compile` pass.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (claude-opus-4-7)
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
    Co-authored-by: Chen Li <[email protected]>
---
 .../texera/amber/operator/source/sql/mysql/MySQLSourceOpDesc.scala       | 1 +
 .../texera/amber/operator/source/sql/mysql/MySQLSourceOpExec.scala       | 1 +
 computing-unit-managing-service/build.sbt                                | 1 -
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpDesc.scala
 
b/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpDesc.scala
index 92b1d4e093..bc9e1f9e66 100644
--- 
a/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpDesc.scala
+++ 
b/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpDesc.scala
@@ -29,6 +29,7 @@ import org.apache.texera.amber.util.JSONUtils.objectMapper
 
 import java.sql.{Connection, SQLException}
 
+@deprecated("MySQL source operator is no longer executable.", 
"1.1.0-incubating")
 class MySQLSourceOpDesc extends SQLSourceOpDesc {
 
   override def getPhysicalOp(
diff --git 
a/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpExec.scala
 
b/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpExec.scala
index c7b0eaf6e2..bd494a940b 100644
--- 
a/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpExec.scala
+++ 
b/common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/mysql/MySQLSourceOpExec.scala
@@ -26,6 +26,7 @@ import org.apache.texera.amber.util.JSONUtils.objectMapper
 
 import java.sql._
 
+@deprecated("MySQL source operator is no longer executable.", 
"1.1.0-incubating")
 class MySQLSourceOpExec private[mysql] (
     descString: String
 ) extends SQLSourceOpExec(descString) {
diff --git a/computing-unit-managing-service/build.sbt 
b/computing-unit-managing-service/build.sbt
index 853e230482..87013deca0 100644
--- a/computing-unit-managing-service/build.sbt
+++ b/computing-unit-managing-service/build.sbt
@@ -35,7 +35,6 @@ libraryDependencies ++= Seq(
   "io.kubernetes" % "client-java" % "21.0.0",
   "org.jooq" % "jooq" % "3.14.16",
   "com.typesafe" % "config" % "1.4.1",
-  "mysql" % "mysql-connector-java" % "8.0.33",
   "com.softwaremill.sttp.client4" %% "core" % "4.0.0-M6",
   "com.typesafe" % "config" % "1.4.2",
   "com.typesafe.play" %% "play-json" % "2.10.6",

Reply via email to