diff --git a/superset/commands/dataset/importers/v0.py b/superset/commands/dataset/importers/v0.py index 14be54174a..acfe4a2c91 100644 --- a/superset/commands/dataset/importers/v0.py +++ b/superset/commands/dataset/importers/v0.py @@ -260,6 +260,7 @@ class ImportDatasetsCommand(BaseCommand): ) dataset["database_id"] = database.id SqlaTable.import_from_dict(dataset, sync=self.sync) + db.session.commit() def validate(self) -> None: # ensure all files are YAML