morningman commented on code in PR #26492:
URL: https://github.com/apache/doris/pull/26492#discussion_r1418267064
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcClient.java:
##########
@@ -467,6 +467,24 @@ protected ResultSet getColumns(DatabaseMetaData
databaseMetaData, String catalog
return databaseMetaData.getColumns(catalogName, schemaName, tableName,
null);
}
+ /**
+ * Execute stmt direct via jdbc
+ * @param origStmt, the raw stmt string
+ */
+ public void executeStmt(String origStmt) {
+ Connection conn = getConnection();
+ Statement stmt = null;
+ try {
+ stmt = conn.createStatement();
+ int effectedRows = stmt.executeUpdate(origStmt);
+ LOG.info("finished to execute dml stmt: {}, effected rows: {}",
origStmt, effectedRows);
Review Comment:
change to debug
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]