diff --git a/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java b/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java index dbeedcfe5b9c..643e1372b614 100644 --- a/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java +++ b/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java @@ -541,7 +541,7 @@ public void testAlterTableRenameColumn() throws Exception { .satisfies( anyCauseMatches( Catalog.ColumnNotExistException.class, - "Column [non_existing_col] does not exist in the test_db.test_table table.")); + "Column non_existing_col does not exist in the test_db.test_table table.")); } @Test @@ -647,7 +647,7 @@ public void testAlterTableUpdateColumnType() throws Exception { .satisfies( anyCauseMatches( Catalog.ColumnNotExistException.class, - "Column [non_existing_col] does not exist in the test_db.test_table table.")); + "Column non_existing_col does not exist in the test_db.test_table table.")); // Alter table update a column type throws Exception when column is partition columns assertThatThrownBy( () -> @@ -718,7 +718,7 @@ public void testAlterTableUpdateColumnComment() throws Exception { .satisfies( anyCauseMatches( Catalog.ColumnNotExistException.class, - "Column [non_existing_col] does not exist in the test_db.test_table table.")); + "Column non_existing_col does not exist in the test_db.test_table table.")); } @Test @@ -774,7 +774,7 @@ public void testAlterTableUpdateColumnNullability() throws Exception { .satisfies( anyCauseMatches( Catalog.ColumnNotExistException.class, - "Column [non_existing_col] does not exist in the test_db.test_table table.")); + "Column non_existing_col does not exist in the test_db.test_table table.")); // Alter table update a column nullability throws Exception when column is pk columns assertThatThrownBy(