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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
)