fix(数据集): 添加数据库数据集时数据预览出错

This commit is contained in:
taojinlong 2022-10-31 10:50:38 +08:00
parent beb946f0d6
commit 1d88ee85e6

View File

@ -1312,4 +1312,8 @@ public class MysqlQueryProvider extends QueryProvider {
return sql;
}
}
public String sqlForPreview(String table, Datasource ds) {
return "SELECT * FROM " + String.format(MySQLConstants.KEYWORD_TABLE, table);
}
}