mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 18:07:17 +01:00
1a6207d791
* Upload static cohort using CSV, closes #2868 * fix tests * Fix tests * Fix e2e test * Avoid double inserts * Speed up query * Move to params * fix tests * Use JSON instead of protobuf * unused import * produce instead of produce_proto * Insert directly into clickhouse, no need for kafka * a few quick fixes * insert in batch to clickhouse * test SQLi since we can't really trust what we are inserting * Extra check for duplicates Co-authored-by: James Greenhill <fuziontech@gmail.com>
8 lines
137 B
Protocol Buffer
8 lines
137 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message PersonStaticCohort {
|
|
string id = 1;
|
|
string person_id = 2;
|
|
uint64 cohort_id = 3;
|
|
uint64 team_id = 4;
|
|
} |