This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 315b08eecd4 Add @SingletonSPI for DialectPipelineSQLBuilder (#32480)
315b08eecd4 is described below
commit 315b08eecd4b1f4efe34e66a83444d39f2445360
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Aug 13 04:41:13 2024 +0800
Add @SingletonSPI for DialectPipelineSQLBuilder (#32480)
---
.../pipeline/core/sqlbuilder/dialect/DialectPipelineSQLBuilder.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/sqlbuilder/dialect/DialectPipelineSQLBuilder.java
b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/sqlbuilder/dialect/DialectPipelineSQLBuilder.java
index c9716a717cb..db1c5418702 100644
---
a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/sqlbuilder/dialect/DialectPipelineSQLBuilder.java
+++
b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/sqlbuilder/dialect/DialectPipelineSQLBuilder.java
@@ -19,6 +19,7 @@ package
org.apache.shardingsphere.data.pipeline.core.sqlbuilder.dialect;
import org.apache.shardingsphere.data.pipeline.core.ingest.record.DataRecord;
import org.apache.shardingsphere.infra.database.core.spi.DatabaseTypedSPI;
+import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI;
import javax.sql.DataSource;
import java.sql.SQLException;
@@ -28,6 +29,7 @@ import java.util.Optional;
/**
* Dialect pipeline SQL builder.
*/
+@SingletonSPI
public interface DialectPipelineSQLBuilder extends DatabaseTypedSPI {
/**