mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
dd7e38c5b5
* Use ReplacingMergeTree for elements, remove element_groups and use elements_hash as a virtual "pk" * remove unused ELEMENT_GROUP_TABLE_SQL * merge fixes * use redis cache to avoid writing duplicate elements to clickhouse * move fakeredis to requirements.txt * add team_id to cache key * remove elements_group kafka table references * add elements_hash to clickhouse element serializer * fix cache key * rename few keys * add test runner to ease pycharm dev * fix a some mypy errors * remove typo Co-authored-by: Eric <eeoneric@gmail.com>
20 lines
290 B
Plaintext
20 lines
290 B
Plaintext
{
|
|
"namespace": "com.posthog.ee",
|
|
"name": "elements_hash",
|
|
"type": "record",
|
|
"fields" : [
|
|
{
|
|
"name" : "id",
|
|
"type" : "string"
|
|
},
|
|
{
|
|
"name" : "elements_hash",
|
|
"type" : "string"
|
|
},
|
|
{
|
|
"name" : "team_id",
|
|
"type" : "long"
|
|
}
|
|
]
|
|
}
|