This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang 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 c19c95b27ea Update the outdated description of transaction support in
Presto doc (#35530)
c19c95b27ea is described below
commit c19c95b27ea4a6c9d4f5b80440b830eb34fc70b5
Author: Ling Hengqian <[email protected]>
AuthorDate: Tue May 27 12:31:19 2025 +0800
Update the outdated description of transaction support in Presto doc
(#35530)
---
.../shardingsphere-jdbc/optional-plugins/presto/_index.cn.md | 2 +-
.../shardingsphere-jdbc/optional-plugins/presto/_index.en.md | 3 +--
.../shardingsphere/test/natived/commons/TestShardingService.java | 4 ++--
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md
index 5b42e398d43..8794f63a6bf 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.cn.md
@@ -175,7 +175,7 @@ ShardingSphere JDBC DataSource 尚不支持执行 Presto 的 `create
table` 和
### 事务限制
Presto 不支持 ShardingSphere 集成级别的本地事务,XA 事务或 Seata 的 AT 模式事务。
-对于 Presto 在 ShardingSphere 集成级别的本地事务,在 ShardingSphere 一侧存在已知问题。
+Presto 自身的事务支持存在问题,参考 https://github.com/prestodb/presto/issues/25204 。
### 连接器限制
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md
index 3cac9fbeab8..ad9175765d9 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/presto/_index.en.md
@@ -176,8 +176,7 @@ ShardingSphere JDBC DataSource does not yet support the
execution of Presto's `c
### Transaction Limitations
Presto does not support local transactions, XA transactions, or Seata's AT
mode transactions at the ShardingSphere integration level.
-
-There are known issues on the ShardingSphere side for Presto's local
transactions at the ShardingSphere integration level.
+There are bugs with Presto's own transaction support, see
https://github.com/prestodb/presto/issues/25204 .
### Connector Limitations
diff --git
a/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/TestShardingService.java
b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/TestShardingService.java
index fd391a4166c..de312feff51 100644
---
a/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/TestShardingService.java
+++
b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/TestShardingService.java
@@ -129,8 +129,8 @@ public final class TestShardingService {
/**
* Process success in Presto Iceberg Connector.
- * TODO ShardingSphere's Presto integration has a bug in transaction
support.
- * Can't execute {@code
orderItemRepository.assertRollbackWithTransactions();} here.
+ * There are bugs with Presto's transaction support, see <a
href="https://github.com/prestodb/presto/issues/25204">prestodb/presto#25204</a>
.
+ * Can't execute {@code
orderItemRepository.assertRollbackWithTransactions();} here.
*
* @throws SQLException SQL exception
*/