CritasWang commented on code in PR #16226:
URL: https://github.com/apache/iotdb/pull/16226#discussion_r2291290655
##########
iotdb-client/cli/src/main/java/org/apache/iotdb/tool/schema/ExportSchemaTable.java:
##########
@@ -214,6 +207,23 @@ protected void exportSchemaToSqlFile() {
}
}
+ private void exportSchemaByShowCreate(
+ SessionDataSet sessionDataSet, String fileName, String tableName)
+ throws IoTDBConnectionException, StatementExecutionException,
IOException {
+ String dropSql = "DROP TABLE IF EXISTS " + tableName + ";\n";
Review Comment:
tableName -> "tableName"
--
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]