datafusion-ballista icon indicating copy to clipboard operation
datafusion-ballista copied to clipboard

REST API stage plan is too busy

Open milenkovicm opened this issue 6 months ago • 3 comments

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

stage plan gets a too busy

Image

currently plan is generated at

https://github.com/apache/datafusion-ballista/blob/3d9c1b577925ba23c1821651112f09f3177192e3/ballista/scheduler/src/api/handlers.rs#L373

I believe, cleaning it up may benefit EXPLAN ANALYZE as well

Describe the solution you'd like

change/cleanup the output format make it less cluttered and easier to follow and understand

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

milenkovicm avatar May 27 '26 08:05 milenkovicm

@danielhumanmod interested maybe ?

milenkovicm avatar May 27 '26 08:05 milenkovicm

Hi @milenkovicm, I'd like to take this on. Plan: add a Display impl on ExecutionGraph that renders each stage via DisplayableExecutionPlan (matching the physical_plan pattern in handlers.rs), then swap format!("{:?}", graph) on line 373 for format!("{}", graph), should help EXPLAIN ANALYZE too.

Nishieee avatar May 27 '26 21:05 Nishieee

@danielhumanmod interested maybe ?

Sorry for the delay response, I saw some contributor already raised some PR, will take a look on that :)

danielhumanmod avatar May 30 '26 23:05 danielhumanmod