diff --git a/fe/fe-core/src/test/java/org/apache/doris/analysis/SelectStmtTest.java b/fe/fe-core/src/test/java/org/apache/doris/analysis/SelectStmtTest.java index ea692f28defffd2..18a0a3f5bff27ac 100755 --- a/fe/fe-core/src/test/java/org/apache/doris/analysis/SelectStmtTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/analysis/SelectStmtTest.java @@ -137,7 +137,7 @@ public static void setUp() throws Exception { + " `username` varchar(32) NULL DEFAULT \"\" COMMENT \"\",\n" + " `pv` bigint(20) NULL DEFAULT \"0\" COMMENT \"\"\n" + ") ENGINE=OLAP\n" - + "UNIQUE KEY(`siteid`, `citycode`, `username`)\n" + + "DUPLICATE KEY(`siteid`, `citycode`, `username`)\n" + "COMMENT \"OLAP\"\n" + "DISTRIBUTED BY RANDOM BUCKETS 10\n" + "PROPERTIES (\n"