vogievetsky opened a new pull request, #18545:
URL: https://github.com/apache/druid/pull/18545

   This PR makes it so that an MSQ based compaction task will use the stages 
pane to render the report rather than just showing the JSON.
   
   ### New behaviour:
   
   <img width="1357" height="842" alt="image" 
src="https://github.com/user-attachments/assets/5a1e74ca-7e8b-4ae7-8da5-c35f89e8caf0";
 />
   
   ### Old behaviour:
   
   <img width="1354" height="819" alt="image" 
src="https://github.com/user-attachments/assets/7a665a6f-4f5d-451c-9c98-868648164f10";
 />
   
   The way I achieve this is a little ugly but I could not think of a better 
way without a big refactor.
   
   I made a `ShowJsonOrStages` component that is like `ShowJson` but will show 
the stages UI if the data loaded looks like an MSQ report. Since this is a one 
off I think it is ok. In the future if we are going to have a lot of 
`ShowJsonOrX` then might make sense to generalize somehow rather than making a 
component for every `X`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to