fixed testcase

This commit is contained in:
shaojin.wensj
2019-02-26 16:25:22 +08:00
parent ad9d59f1b3
commit 45fe78e097
2 changed files with 4 additions and 4 deletions
@@ -46,7 +46,7 @@ public class MySqlCreateTableTest69 extends MysqlTest {
String output = SQLUtils.toMySqlString(stmt);
Assert.assertEquals("CREATE TABLE t1 (\n" +
"\ts1 INT,\n" +
"\ts2 INT AS (EXP(s1)) SORTED\n" +
"\ts2 INT AS (EXP(s1)) STORED\n" +
")\n" +
"PARTITION BY LIST (s2) (\n" +
"\tPARTITION p1 VALUES IN (1)\n" +
@@ -57,7 +57,7 @@ public class MySqlCreateTableTest69 extends MysqlTest {
String output = SQLUtils.toMySqlString(stmt, SQLUtils.DEFAULT_LCASE_FORMAT_OPTION);
Assert.assertEquals("create table t1 (\n" +
"\ts1 INT,\n" +
"\ts2 INT as (EXP(s1)) sorted\n" +
"\ts2 INT as (EXP(s1)) stored\n" +
")\n" +
"partition by list (s2) (\n" +
"\tpartition p1 values in (1)\n" +