michaelmao999 opened a new issue, #37770: URL: https://github.com/apache/doris/issues/37770
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version ubuntu 20.04 apache-doris-2.1.4 ### What's Wrong? 执行MySQL JDBC delete 语句,记录已经被删除,但是返回影响记录数为0. ### What You Expected? 如果删除1条记录,就返回影响记录数1. ### How to Reproduce? CREATE TABLE tableinfo ( tableName varchar(100) NOT NULL , createTime datetime(3) DEFAULT NULL, updateTime datetime(3) DEFAULT NULL ) UNIQUE KEY (tableName) DISTRIBUTED BY HASH (tableName) BUCKETS 1 PROPERTIES ( 'replication_num' = '1', "enable_unique_key_merge_on_write" = "true" ); public int delete(String tableName) throws SQLException { try (Connection conn = dataSource.getConnection(); PreparedStatement ps = conn.prepareStatement("DELETE FROM tableinfo WHERE tableName=?")) { ps.setString(1, tableName); int result = ps.executeUpdate(); return ps.executeUpdate(); } } ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org