feat: 更改 doris key 类型

This commit is contained in:
taojinlong 2021-06-15 14:41:02 +08:00
parent 21a4073d85
commit 07f520698c

View File

@ -112,7 +112,7 @@ public class ExtractDataService {
private String passwd; private String passwd;
private static String creatTableSql = "CREATE TABLE IF NOT EXISTS `TABLE_NAME`" + private static String creatTableSql = "CREATE TABLE IF NOT EXISTS `TABLE_NAME`" +
"Column_Fields" + "Column_Fields" +
"UNIQUE KEY(dataease_uuid)\n" + "DUPLICATE KEY(dataease_uuid)\n" +
"DISTRIBUTED BY HASH(dataease_uuid) BUCKETS 10\n" + "DISTRIBUTED BY HASH(dataease_uuid) BUCKETS 10\n" +
"PROPERTIES(\"replication_num\" = \"1\");"; "PROPERTIES(\"replication_num\" = \"1\");";