fix(glue): serialize table creation with database deletion (#8148)

This commit is contained in:
Jackson Price authored and GitHub committed 2026-11-12 20:31:00 -04:00
1 parent f5e581a872
commit 4b3b5cc211
4 files changed
+120 -79

No files matched your search

@@ -445,7 +445,7 @@ public class GlueService {
LOG.infov("Deleted Glue Database: {0}", name);
}
public void createTable(String databaseName, Table table) {
public synchronized void createTable(String databaseName, Table table) {
requireValidSortColumns(sortColumnViolations("tableInput", table.getStorageDescriptor()));
Database database = getDatabase(databaseName);
String key = tableKey(databaseName, table.getName());