From f0cd380ab13d4f866621f2c8a6dd95122e4eb2bd Mon Sep 17 00:00:00 2001 From: "Maxim.Kolmakov" Date: Mon, 13 Nov 2023 21:37:42 +0100 Subject: [PATCH] Don't store raw report for fleet --- db-schema/fleet/report.sql | 1 - pkg/analyzer/analyzer.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/db-schema/fleet/report.sql b/db-schema/fleet/report.sql index 7e4943f1..54ce2ea9 100644 --- a/db-schema/fleet/report.sql +++ b/db-schema/fleet/report.sql @@ -9,7 +9,6 @@ create table report2 `tc_build_id` UInt32 CODEC (Gorilla, ZSTD(20)), `tc_installer_build_id` UInt32 CODEC (Gorilla, ZSTD(20)), `branch` LowCardinality(String) CODEC (ZSTD(20)), - `raw_report` String CODEC (ZSTD(20)), `build_c1` UInt8 CODEC (Gorilla, ZSTD(20)), `build_c2` UInt16 CODEC (Gorilla, ZSTD(20)), diff --git a/pkg/analyzer/analyzer.go b/pkg/analyzer/analyzer.go index 19b814c6..1f23e817 100644 --- a/pkg/analyzer/analyzer.go +++ b/pkg/analyzer/analyzer.go @@ -88,7 +88,7 @@ func GetAnalyzer(id string) DatabaseConfiguration { DbName: "fleet", ReportReader: analyzeFleetReport, HasInstallerField: true, - HasRawReport: true, + HasRawReport: false, extraFieldCount: 4, insertStatementWriter: func(sb *strings.Builder) { sb.WriteString(", measures.name, measures.value, measures.start, measures.thread")