From d13e61c20174ae80fd008b488c36aba45eba3eae Mon Sep 17 00:00:00 2001 From: Nga Tran Date: Mon, 11 Oct 2021 09:33:23 -0400 Subject: [PATCH] fix: Apply suggestions from code review Co-authored-by: Andrew Lamb --- query/src/exec/context.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/query/src/exec/context.rs b/query/src/exec/context.rs index ef356e6330..beb6aa274a 100644 --- a/query/src/exec/context.rs +++ b/query/src/exec/context.rs @@ -254,8 +254,7 @@ impl IOxExecutionContext { let ctx = self.child_ctx("prepare_sql"); debug!(text=%sql, "planning SQL query"); let logical_plan = ctx.inner.create_logical_plan(sql)?; - let s = logical_plan.display_graphviz().to_string(); - debug!(plan=?s, "logical plan"); + debug!(plan=%logical_plan.display_graphviz(), "logical plan"); ctx.prepare_plan(&logical_plan).await }