mirror of
https://github.com/apache/superset.git
synced 2024-09-16 02:29:39 -04:00
fix(dataset): handle missing sqla uri in migration (#20073)
This commit is contained in:
parent
85315460cb
commit
4435e53901
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user