From b2f6134cf3062d4c55d612a7ef4aeb1b37daf2cc Mon Sep 17 00:00:00 2001 From: oucb Date: Thu, 14 Mar 2024 08:41:35 +0800 Subject: [PATCH] chore: update sql.json file (#2704) Signed-off-by: oucb --- extensions/sinks/sql/sql.json | 4 ++-- extensions/sources/sql/sql.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/sinks/sql/sql.json b/extensions/sinks/sql/sql.json index ab30431fc9..c007dbfed8 100644 --- a/extensions/sinks/sql/sql.json +++ b/extensions/sinks/sql/sql.json @@ -25,8 +25,8 @@ "control": "text", "type": "string", "hint": { - "en_US": "The url of the database, it is important to note that the password in the URL is url-encoded characters. For example, the database address of mysql is mysql://username:password@127.0.0.1:3306/testdb?parseTime=true, if the original password is 123:#?, the password here should be filled in with 123%3A%23%3F", - "zh_CN": "数据库服务器的 URL,需要特别注意的是 URL 中的密码为 url 编码后的字符。例如,mysql 的数据库地址为 mysql://username:password@127.0.0.1:3306/testdb?parseTime=true,若原始密码为 123:#?,则这里的 password 应填入 123%3A%23%3F" + "en_US": "The url of the database, it is important to note that the password in the URL is url-encoded characters, and you need to re-enter the password when editing. For example, the database address of mysql is mysql://username:password@127.0.0.1:3306/testdb?parseTime=true, if the original password is 123:#?, the password here should be filled in with 123%3A%23%3F", + "zh_CN": "数据库服务器的 URL,需要特别注意的是 URL 中的密码为 url 编码后的字符,并且编辑时需要重新输入密码。例如,mysql 的数据库地址为 mysql://username:password@127.0.0.1:3306/testdb?parseTime=true,若原始密码为 123:#?,则这里的 password 应填入 123%3A%23%3F" }, "label": { "en_US": "server address", diff --git a/extensions/sources/sql/sql.json b/extensions/sources/sql/sql.json index 12518d3200..74a98afcbc 100644 --- a/extensions/sources/sql/sql.json +++ b/extensions/sources/sql/sql.json @@ -37,8 +37,8 @@ "control": "text", "type": "string", "hint": { - "en_US": "The url of the database, it is important to note that the password in the URL is url-encoded characters. For example, the database address of mysql is mysql://username:password@127.0.0.1:3306/testdb?parseTime=true, if the original password is 123:#?, the password here should be filled in with 123%3A%23%3F", - "zh_CN": "数据库服务器的 URL,需要特别注意的是 URL 中的密码为 url 编码后的字符。例如,mysql 的数据库地址为 mysql://username:password@127.0.0.1:3306/testdb?parseTime=true,若原始密码为 123:#?,则这里的 password 应填入 123%3A%23%3F" + "en_US": "The url of the database, it is important to note that the password in the URL is url-encoded characters, and you need to re-enter the password when editing. For example, the database address of mysql is mysql://username:password@127.0.0.1:3306/testdb?parseTime=true, if the original password is 123:#?, the password here should be filled in with 123%3A%23%3F", + "zh_CN": "数据库服务器的 URL,需要特别注意的是 URL 中的密码为 url 编码后的字符,并且编辑时需要重新输入密码。例如,mysql 的数据库地址为 mysql://username:password@127.0.0.1:3306/testdb?parseTime=true,若原始密码为 123:#?,则这里的 password 应填入 123%3A%23%3F" }, "label": { "en_US": "Server address", @@ -186,11 +186,11 @@ }, "indexFieldType": { "name": "indexFieldType", - "default": "STRING", + "default": "", "optional": true, "control": "select", "type": "string", - "values": ["DATETIME", "INT", "FLOAT", "STRING"], + "values": ["DATETIME", "INT"], "hint": { "en_US": "Column type for the indexField", "zh_CN": "索引字段的列类型"