Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3507,6 +3507,8 @@ public void testAlterTableAddLongColumnName()
assertThatThrownBy(() -> assertUpdate("ALTER TABLE " + tableName + " ADD COLUMN " + invalidTargetColumnName + " int"))
.satisfies(this::verifyColumnNameLengthFailurePermissible);
assertQuery("SELECT x FROM " + tableName, "VALUES 123");

assertUpdate("DROP TABLE " + tableName);
}

@Test
Expand Down Expand Up @@ -3538,6 +3540,8 @@ public void testAlterTableRenameColumnToLongName()
assertThatThrownBy(() -> assertUpdate("ALTER TABLE " + tableName + " RENAME COLUMN x TO " + invalidTargetTableName))
.satisfies(this::verifyColumnNameLengthFailurePermissible);
assertQuery("SELECT x FROM " + tableName, "VALUES 123");

assertUpdate("DROP TABLE " + tableName);
}

protected boolean columnExists(String tableName, String columnName)
Expand Down