mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(glue): serialize table creation with database deletion (#8148)
This commit is contained in:
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());
|
||||
|
||||
Reference in new issue
Block a user