Skip to content

Commit

Permalink
Update superset/migrations/versions/2023-03-27_12-30_7e67aecbf3f1_cha…
Browse files Browse the repository at this point in the history
…rt_ds_constraint.py
  • Loading branch information
eschutho committed May 3, 2023
1 parent 46186be commit f72cde9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def upgrade_slc(slc: Slice) -> None:
# or it will 404 when the dataset is looked up.
params_dict["datasource"] = f"{ds_id}__table"
slc.params = json.dumps(params_dict)
logger.warning("updated slice datasource from %s__%s to %s__table", ds_id, ds_type, ds_id)
except Exception:
# skip any malformatted params
logger.warning("failed to update slice: %s__%s", ds_id, ds_type)
Expand Down

0 comments on commit f72cde9

Please sign in to comment.