-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Description
If I do a sqlmesh plan dev this is the output I see:
Apply - Backfill Tables [y/n]: y
analytics.seed_orders ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1/1 • 0:00:02
analytics.incremental_model ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1/1 • 0:00:04
analytics.full_model ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1/1 • 0:00:07
All model batches have been executed successfully
Virtually Updating 'dev' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 0:00:01
It's somewhat counter-intuitive that if I go into my database, it's actually analytics__dev.* that will reflect the changes I've just made, while analytics.* haven't been touched. I think for clarity, if it's updating a non-prod environment, then the schema name shown should reflect that. It's also a more visible signal that someone is working within a different environment.
In other words, the output should be:
Apply - Backfill Tables [y/n]: y
analytics__dev.seed_orders ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1/1 • 0:00:02
analytics__dev.incremental_model ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1/1 • 0:00:04
analytics__dev.full_model ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1/1 • 0:00:07
All model batches have been executed successfully
Virtually Updating 'dev' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 0:00:01
Metadata
Metadata
Assignees
Labels
No labels