risingwave icon indicating copy to clipboard operation
risingwave copied to clipboard

feat: explain an existing MV to show the fragment_id, table id and names

Open fuyufjh opened this issue 1 year ago • 2 comments
trafficstars

Is your feature request related to a problem? Please describe.

Currently, it's difficult to tell which state table belongs to which part of the execution plan.

Describe the solution you'd like

We may provide a syntax like

explain <table_or_mv_or_sink_name>

and then it will print a physical plan (i.e. fragments) with the real IDs, including (and not limited to) fragment_id, table id and names, etc.

Describe alternatives you've considered

This is an alternative to the dashboard. Would be helpful when we can't access the dashboard easily.

Additional context

No response

fuyufjh avatar Dec 26 '23 05:12 fuyufjh

thinking it can be integrated into the diagnose command, users just one click and print all the query plans for off-site debugging

lmatz avatar Jan 03 '24 11:01 lmatz

thinking it can be integrated into the diagnose command, users just one click and print all the query plans for off-site debugging

Right. That's also what I think.

fuyufjh avatar Jan 09 '24 09:01 fuyufjh