matrixorigin / mo_ctl_standalone

mo_ctl tool for standalone matrixone
Apache License 2.0
2 stars 1 forks source link

[Feature Request]: implement function 'ddl_convert' #26

Closed aronchanisme closed 1 year ago

aronchanisme commented 1 year ago

Is there an existing issue for the feature request?

Feature Description

Usage           : mo_ctl ddl_convert [options] [src_file] [tgt_file] # convert ddl file to mo format from other types of database
 [options]      : available: mysql_to_mo
 [src_file]     : source file to be converted, will use env DDL_SRC_FILE from conf file by default
 [tgt_file]     : target file of converted output, will use env DDL_TGT_FILE from conf file by default
  e.g.          : mo_ctl ddl_convert mysql_to_mo /tmp/mysql.sql /tmp/mo.sql

Feature Implementation

refer to https://github.com/matrixorigin/matrixone/issues/8182

Additional information

none

aronchanisme commented 1 year ago

feature implemented