mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-14 06:05:10 +00:00
Remove historical_event
column in editor events (#18932)
We have a lot of data in Clickhouse. This column was used when migrating the events dataset between analytics databases and has no purpose today. Naive maths: 257,170,993 editor event rows * 1 byte per boolean = 257,170,993 bytes, or ~0.24 GB I'll drop the column after deploying a new collab. Going forward, I'd like to remove more data that we never touch, to try to keep things more focused. We should discuss some TTL at some point. Release Notes: - N/A
This commit is contained in:
parent
8911fd46e1
commit
1cbaca667f
1 changed files with 0 additions and 2 deletions
|
@ -670,7 +670,6 @@ pub struct EditorEventRow {
|
|||
time: i64,
|
||||
copilot_enabled: bool,
|
||||
copilot_enabled_for_language: bool,
|
||||
historical_event: bool,
|
||||
architecture: String,
|
||||
is_staff: Option<bool>,
|
||||
major: Option<i32>,
|
||||
|
@ -718,7 +717,6 @@ impl EditorEventRow {
|
|||
country_code: country_code.unwrap_or("XX".to_string()),
|
||||
region_code: "".to_string(),
|
||||
city: "".to_string(),
|
||||
historical_event: false,
|
||||
is_via_ssh: event.is_via_ssh,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue