sandugood commented on code in PR #1778:
URL:
https://github.com/apache/datafusion-ballista/pull/1778#discussion_r3314047116
##########
ballista/scheduler/src/api/handlers.rs:
##########
@@ -382,16 +395,17 @@ pub async fn get_job<
let percent_complete =
((completed_stages as f32 / num_stages as f32) * 100_f32) as u8;
- let render_tree = query.render_tree.unwrap_or(false);
+ let plan_format = query.plan_format.clone().unwrap_or(PlanFormat::Default);
Review Comment:
Yeah, unwrap_or_default() seems like an appropriate thing here. Thanks
--
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]