From 3de518a2cd19cd312a525323b123ba5d7bfca5ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Mon, 12 Feb 2024 23:14:35 +0000 Subject: [PATCH] clickhouse: fix lint due to line too long Introduced by expediated #1260 --- flow/connectors/clickhouse/normalize.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flow/connectors/clickhouse/normalize.go b/flow/connectors/clickhouse/normalize.go index 7ac8e21445..914da50604 100644 --- a/flow/connectors/clickhouse/normalize.go +++ b/flow/connectors/clickhouse/normalize.go @@ -162,7 +162,11 @@ func (c *ClickhouseConnector) NormalizeRecords(ctx context.Context, req *model.N } if clickhouseType == "Date" { - projection.WriteString(fmt.Sprintf("toDate(parseDateTime64BestEffortOrNull(JSONExtractString(_peerdb_data, '%s'))) AS `%s`,", cn, cn)) + projection.WriteString(fmt.Sprintf( + "toDate(parseDateTime64BestEffortOrNull(JSONExtractString(_peerdb_data, '%s'))) AS `%s`,", + cn, + cn, + )) } else { projection.WriteString(fmt.Sprintf("JSONExtract(_peerdb_data, '%s', '%s') AS `%s`,", cn, clickhouseType, cn)) }