You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "linghengqian (via GitHub)" <gi...@apache.org> on 2025/06/22 14:12:23 UTC

[PR] Temporarily disable nativeTest for MS SQL Server's `DROP TABLE IF EXISTS` statement due to refactoring [shardingsphere]

linghengqian opened a new pull request, #35781:
URL: https://github.com/apache/shardingsphere/pull/35781

   For https://github.com/apache/shardingsphere/actions/runs/15779757463/job/44482253592 .
   
   Changes proposed in this pull request:
     - Temporarily disable nativeTest for MS SQL Server's `DROP TABLE IF EXISTS` statement due to refactoring.
     - The documentation for Hive's GraalVM Native Image integration is out of date due to the merge of https://github.com/apache/hive/pull/5404 . Update it appropriately.
     - Since the merge of an unknown PR, shardingsphere cannot execute statements like `DROP TABLE IF EXISTS t_order` for MS SQL Server.
   ```shell
   java.sql.SQLException: Can not support operation 'DROP TABLE ... CASCADE' with sharding table 't_order'.
   
   	at org.apache.shardingsphere.infra.exception.core.external.sql.ShardingSphereSQLException.toSQLException(ShardingSphereSQLException.java:81)
   	at org.apache.shardingsphere.infra.exception.dialect.SQLExceptionTransformEngine.toSQLException(SQLExceptionTransformEngine.java:54)
   	at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement.executeUpdate(ShardingSphereStatement.java:138)
   	at com.zaxxer.hikari.pool.ProxyStatement.executeUpdate(ProxyStatement.java:119)
   	at com.zaxxer.hikari.pool.HikariProxyStatement.executeUpdate(HikariProxyStatement.java)
   	at org.apache.shardingsphere.test.natived.commons.repository.OrderRepository.dropTableInMySQL(OrderRepository.java:135)
   	at org.apache.shardingsphere.test.natived.commons.TestShardingService.cleanEnvironment(TestShardingService.java:214)
   	at org.apache.shardingsphere.test.natived.jdbc.databases.SQLServerTest.assertShardingInLocalTransactions(SQLServerTest.java:69)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
   ```
   
   ---
   
   Before committing this PR, I'm sure that I have checked the following options:
   - [x] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project.
   - [x] I have self-reviewed the commit code.
   - [x] I have (or in comment I request) added corresponding labels for the pull request.
   - [x] I have passed maven check locally : `./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
   - [x] I have made corresponding changes to the documentation.
   - [x] I have added corresponding unit tests for my changes.
   - [ ] I have updated the Release Notes of the current development version. For more details, see [Update Release Note](https://shardingsphere.apache.org/community/en/involved/contribute/contributor/)
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Temporarily disable nativeTest for MS SQL Server's `DROP TABLE IF EXISTS` statement due to refactoring [shardingsphere]

Posted by "FlyingZC (via GitHub)" <gi...@apache.org>.
FlyingZC merged PR #35781:
URL: https://github.com/apache/shardingsphere/pull/35781


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org