fix(dataset): handle missing sqla uri in migration (#20073)

This commit is contained in:
Ville Brofeldt
2022-05-16 10:17:28 +03:00
committed by GitHub
parent 85315460cb
commit 4435e53901

View File

@@ -597,7 +597,7 @@ def postprocess_datasets(session: Session) -> None:
)
updated = True
if not is_physical and expression:
if not is_physical and drivername and expression:
table_refrences = extract_table_references(
expression, get_dialect_name(drivername), show_warning=False
)