XNX02 commented on code in PR #15275:
URL: https://github.com/apache/iotdb/pull/15275#discussion_r2063402926
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/writeback/WriteBackConnector.java:
##########
@@ -310,9 +361,14 @@ public void close() throws Exception {
}
}
- private TSStatus executeStatementForTableModel(Statement statement, String
dataBaseName) {
+ private TSStatus executeStatementForTableModel(
+ Statement statement, String dataBaseName, final String userName) {
session.setDatabaseName(dataBaseName);
session.setSqlDialect(IClientSession.SqlDialect.TABLE);
+ final String originalUerName = session.getDatabaseName();
Review Comment:
fixed.
--
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]