From e53eb60ef032e2d1ee502bc7820828e46a25b2f3 Mon Sep 17 00:00:00 2001 From: Rebecca Taft Date: Fri, 27 Dec 2024 08:55:13 -0600 Subject: [PATCH] opt: wrap a couple of long lines This PR also serves to test a recent change to blathers. Fixes #138038 Release note: None --- pkg/sql/opt/memo/expr_format.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/sql/opt/memo/expr_format.go b/pkg/sql/opt/memo/expr_format.go index 1669466f7268..720db28d1ddf 100644 --- a/pkg/sql/opt/memo/expr_format.go +++ b/pkg/sql/opt/memo/expr_format.go @@ -1042,9 +1042,11 @@ func (f *ExprFmtCtx) formatScalarWithLabel( f.Buffer.WriteString(": ") } switch scalar.Op() { - case opt.ProjectionsOp, opt.AggregationsOp, opt.UniqueChecksOp, opt.FKChecksOp, opt.KVOptionsOp, opt.FastPathUniqueChecksOp: + case opt.ProjectionsOp, opt.AggregationsOp, opt.UniqueChecksOp, opt.FKChecksOp, opt.KVOptionsOp, + opt.FastPathUniqueChecksOp: // Omit empty lists (except filters) and special-purpose fast path check expressions. - if scalar.ChildCount() == 0 || (scalar.Op() == opt.FastPathUniqueChecksOp && f.HasFlags(ExprFmtHideFastPathChecks)) { + if scalar.ChildCount() == 0 || + (scalar.Op() == opt.FastPathUniqueChecksOp && f.HasFlags(ExprFmtHideFastPathChecks)) { return }