sqlmesh icon indicating copy to clipboard operation
sqlmesh copied to clipboard

Better support for long lists of indirectly modified models printed in CLI output

Open izeigerman opened this issue 2 years ago • 0 comments

Sometimes a directly modified model may be associated with 100s indirectly modified downstream models.

When this happens the output becomes cumbersome and overwhelming to a user. We need to revisit how we print out the directly / indirectly modified trees and potentially omit model names once their total number exceeds a certain threshold.

For example one way to present a really long list could look like this:

Summary of differences against `prod`:
Models:
├── Directly Modified:
│   └── sushi.orders
└── Indirectly Modified:
    ├── sushi.waiter_revenue_by_day
    ├── ... N more ....
    └── sushi.top_waiters

izeigerman avatar Jan 19 '24 23:01 izeigerman