This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new ccce3227a7 [INLONG-8343][Dashboard] Increase the length of the field 
for creating MySQL varchar types to 16383 (#8344)
ccce3227a7 is described below

commit ccce3227a7a54fb0a79e6c9b21486185d7e419fe
Author: xuesongxs <[email protected]>
AuthorDate: Thu Jun 29 12:56:12 2023 +0800

    [INLONG-8343][Dashboard] Increase the length of the field for creating 
MySQL varchar types to 16383 (#8344)
---
 inlong-dashboard/src/plugins/sinks/defaults/MySQL.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inlong-dashboard/src/plugins/sinks/defaults/MySQL.ts 
b/inlong-dashboard/src/plugins/sinks/defaults/MySQL.ts
index 5d62467345..98d9184fb3 100644
--- a/inlong-dashboard/src/plugins/sinks/defaults/MySQL.ts
+++ b/inlong-dashboard/src/plugins/sinks/defaults/MySQL.ts
@@ -47,7 +47,7 @@ const fieldTypesConf = {
   TIME: () => '',
   DATETIME: () => '',
   CHAR: (m, d) => (1 <= m && m <= 255 ? '' : '1<=M<=255'),
-  VARCHAR: (m, d) => (1 <= m && m <= 255 ? '' : '1<=M<=255'),
+  VARCHAR: (m, d) => (1 <= m && m <= 16383 ? '' : '1<=M<=16383'),
   TEXT: () => '',
   BINARY: (m, d) => (1 <= m && m <= 64 ? '' : '1<=M<=64'),
   VARBINARY: (m, d) => (1 <= m && m <= 64 ? '' : '1<=M<=64'),

Reply via email to