mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
feat: Doris table KEY 类型:UNIQUE
This commit is contained in:
parent
ef6385d529
commit
8a39eeee9c
@ -112,7 +112,7 @@ public class ExtractDataService {
|
||||
private String passwd;
|
||||
private static String creatTableSql = "CREATE TABLE IF NOT EXISTS `TABLE_NAME`" +
|
||||
"Column_Fields" +
|
||||
"DUPLICATE KEY(dataease_uuid)\n" +
|
||||
"UNIQUE KEY(dataease_uuid)\n" +
|
||||
"DISTRIBUTED BY HASH(dataease_uuid) BUCKETS 10\n" +
|
||||
"PROPERTIES(\"replication_num\" = \"1\");";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user