This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new f1811e41bc [fix](config)Update user_define_tables.sh #12542 f1811e41bc is described below commit f1811e41bcf2607b5ff91a2e57234edb8834a578 Author: BenjaminWenqiYu <41983209+benjaminwenq...@users.noreply.github.com> AuthorDate: Fri Sep 16 10:27:28 2022 +0800 [fix](config)Update user_define_tables.sh #12542 --- extension/mysql_to_doris/user_define_tables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/mysql_to_doris/user_define_tables.sh b/extension/mysql_to_doris/user_define_tables.sh index d65292f5f2..a75a847497 100644 --- a/extension/mysql_to_doris/user_define_tables.sh +++ b/extension/mysql_to_doris/user_define_tables.sh @@ -68,7 +68,7 @@ rm -rf ./user_files/tables1.sql mv ./user_files/tables2.sql ./user_files/tables.sql #start transform tables struct sed -i '/ENGINE=/a) ENGINE=ODBC\n COMMENT "ODBC"\nPROPERTIES (\n"host" = "ApacheDorisHostIp",\n"port" = "3306",\n"user" = "root",\n"password" = "ApacheDorisHostPassword",\n"database" = "ApacheDorisDataBases",\n"table" = "ApacheDorisTables",\n"driver" = "MySQL",\n"odbc_type" = "mysql");' ./user_files/tables.sql -sed -i "s/\"driver\" = \"MySQL\"/\"driver\" = \"$doris_odbc_name\"/g" ./files/tables.sql +sed -i "s/\"driver\" = \"MySQL\"/\"driver\" = \"$doris_odbc_name\"/g" ./user_files/tables.sql #delete match line sed -i '/ENGINT=/d' ./user_files/tables.sql sed -i '/PRIMARY KEY/d' ./user_files/tables.sql --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org