Michael Matloka
5d2ad6c7bb
chore(deps): Update black
to 22.8.0
( #11596 )
...
* chore(deps): Update `black` to `22.8.0`
* Format
2022-09-05 14:38:54 +02:00
Neil Kakkar
17a25011aa
fix: materialised columns ( #11558 )
2022-08-31 21:02:33 +01:00
Eric Duong
92ddf4072b
feat: materialize person and groups on events ( #11363 )
2022-08-30 12:31:32 +01:00
Neil Kakkar
565851626a
chore: Use instance setting for self-hosted person on events ( #11472 )
2022-08-25 14:28:41 +01:00
Eric Duong
46faa8fab2
refactor(FOSS): foss remove all ee dependencies from /posthog ( #10319 )
...
* refactor: foss move properties to /posthog
* refactor: move replication and materializtaion
* refactor: move file
* refactor: move test and journeys
* refactor: move breakdown props
* refactor: move query imports
* refactor: move more ee dependencies
* refactor: restore groupsjoinquery
* fix: errors
* refactor: no ee.clickhouse dependncies
* try import tasks
* refactor: move materialization
* refactor: change foss split for column optimizer
* run black
* fix: imports
* remove comment
* Update snapshots
* run black
* skip isort
* Update snapshots
* format
* more fixes
* refactor(FOSS): split out paths query code (#10378 )
* refactor: move migrations
* refactor: move idl
* fix: move more imports
* import adjustments
* fix: test import
* fix: test import
* fix: remove restriction
* refactor: split out paths query code
* refactor: more code splitting
* fix: types
* refactor(FOSS): Setup such that FOSS is deployable (#10352 )
* refactor: move migrations
* refactor: move idl
* fix: move more imports
* import adjustments
* fix: test import
* fix: test import
* fix: remove restriction
* fix import
* refactor: add snapshost
* subscription-import
* fix: safe import
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-22 17:24:03 -04:00
Eric Duong
e8d4d6d49d
refactor(foss): move all /sql queries ( #10230 )
...
* refactor: move prop value and actorbasequery files
* refactor: move test base
* fix: imports
* move middleware
* refactor: move cohort model util
* refactor: move all /sql queries
* fix: imports
* fix imports
* refactor: move cohort model util (#10224 )
2022-06-13 18:05:14 -04:00
Eric Duong
5eb98ef624
refactor: move event and person query to /posthog ( #8970 )
...
* refactor: move event and person query to /posthog
* move imports
* another import
* refactor: move actions
* refactor: move actions
* enterprise
* trigger tests
* test
* make dummy
2022-03-22 20:27:11 +00:00
Karl-Aksel Puulmann
153b58d9f9
Use structlog over logging ( #8155 )
2022-01-20 10:48:06 +02:00
Karl-Aksel Puulmann
17836f80f5
Add command for materializing columns ( #5816 )
...
* Add command for materializing columns
Expecting this to get used in both dev as well as when improving
upstream installations
* No clashes in tests
* Solve for feedback
* Comments for clarity
2021-09-07 07:56:29 +00:00
Karl-Aksel Puulmann
0df87579ab
Add more materialized column settings ( #5806 )
2021-09-04 18:07:20 +03:00
Karl-Aksel Puulmann
8d8705d1bb
Materialize person columns automatically ( #5760 )
...
* Hotfix: Use materialized columns on cloud
This was broken since default_kind was different on Distributed tables
on cloud
* Improve __init__.py
* Make reverting DEFAULT column async, only ON CLUSTER for events table
2021-08-28 12:14:30 +03:00
Karl-Aksel Puulmann
10a26d3e17
Automatically create materialized properties ( #5744 )
...
* Avoid naming collisions when materializing columns
1. Prefix person properties differently. Mixing them up can break
ambigious column issues
2. When name already exists, suffix with random junk :)
* Implement analyze.py
* Add `suggested_columns_to_materialize`
* Add code to backfill a materialized column
* Add tests for backfilling data
* Cleanup
* Add tests for analyze
* WIP: Crontab for materializing columns
* Nooped task for materializing properties
* Use mutations_sync=0 for column tests
* Add comment
2021-08-26 18:48:57 +03:00