我试了下dumpling也是一样
tiup dumpling -B raydb -uroot --filetype sql -o /tmp/test.log -L dump.log -pxxx -d
[tidb@jeeppoc ~]$ cat /tmp/test.log/raydb.testrb-schema.sql
/!40101 SET NAMES binary/;
CREATE TABLE testrb
(
id
bigint(20) NOT NULL /*T![auto_rand] AUTO_RANDOM(5) */,
name
varchar(2) DEFAULT NULL,
PRIMARY KEY (id
) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin /*T![auto_rand_base] AUTO_RANDOM_BASE=30001 */;