Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Murphy <[email protected]>
  • Loading branch information
murphyatwork committed Mar 25, 2024
1 parent c4f84ef commit 36bee1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void testAlterMVOnView() throws Exception {
// try to active the mv
connectContext.executeSql(String.format("alter materialized view %s active", mvName));
Assert.assertFalse(mv.isActive());
Assert.assertEquals("Column schema not compatible: (`k2` bigint(20) NULL COMMENT \"\") " +
Assert.assertEquals("column schema not compatible: (`k2` bigint(20) NULL COMMENT \"\") " +
"and (`k2` double NULL COMMENT \"\")", mv.getInactiveReason());

// use a illegal view schema, should active the mv correctly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void testMVCacheInvalidAndReValid() throws Exception {
cluster.runSql("test", "alter materialized view test_cache_mv1 active;");
Assert.fail("could not active the mv");
} catch (Exception e) {
Assert.assertTrue(e.getMessage(), e.getMessage().contains("Column schema not compatible"));
Assert.assertTrue(e.getMessage(), e.getMessage().contains("column schema not compatible"));
}

plan = getFragmentPlan(sql);
Expand Down

0 comments on commit 36bee1f

Please sign in to comment.