Skip to content

Commit

Permalink
branch-2.1: [fix](case)fix manager regression case. #45993 (#46033)
Browse files Browse the repository at this point in the history
Cherry-picked from #45993

Co-authored-by: daidai <changyuwei@selectdb.com>
  • Loading branch information
github-actions[bot] and hubgeter authored Dec 26, 2024
1 parent 8b9167c commit a93ae03
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions regression-test/suites/manager/test_manager_interface_1.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -280,17 +280,7 @@ suite('test_manager_interface_1',"p0") {
def ddl_str = result[0][1]
def idx = ddl_str.indexOf("PROPERTIES")
assertTrue(idx != -1 );
assertTrue( ddl_str.startsWith("""CREATE TABLE `test_manager_tb_1` (
`k1` tinyint NULL,
`k2` decimal(10,2) NULL DEFAULT "10.05",
`k3` char(10) NULL COMMENT 'string column',
`k4` int NOT NULL DEFAULT "1" COMMENT 'int column',
`k5` text NULL
) ENGINE=OLAP
DUPLICATE KEY(`k1`, `k2`, `k3`)
COMMENT 'manager_test_table'
DISTRIBUTED BY HASH(`k1`) BUCKETS 1"""))

assertTrue(ddl_str.contains("CREATE TABLE `test_manager_tb_1`"));
sql """ drop table test_manager_tb_1 """
result = sql """ show tables """
assertTrue(result.size() == 0)
Expand Down

0 comments on commit a93ae03

Please sign in to comment.