Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: create ClickHouse override tables #25681

Merged
merged 30 commits into from
Oct 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d911d60
clickhouse sql
daibhin Oct 18, 2024
362f4a2
add to ch schema
daibhin Oct 18, 2024
1c18b9c
add migration files
daibhin Oct 18, 2024
8110338
Update query snapshots
github-actions[bot] Oct 18, 2024
d1cbd0a
Merge branch 'master' into dn-feat/create-overrides-tables
daibhin Oct 21, 2024
229419d
combine as single migration
daibhin Oct 21, 2024
7be13fe
reset snapshots
daibhin Oct 21, 2024
d64753b
Update query snapshots
github-actions[bot] Oct 21, 2024
2d5bbba
move constants together
daibhin Oct 21, 2024
1107621
Merge branch 'dn-feat/create-overrides-tables' of github.com:PostHog/…
daibhin Oct 21, 2024
58aab62
reset snapshots
daibhin Oct 21, 2024
4636c76
Update query snapshots
github-actions[bot] Oct 21, 2024
12bb47f
Update query snapshots
github-actions[bot] Oct 21, 2024
ab7838b
Merge branch 'master' into dn-feat/create-overrides-tables
daibhin Oct 22, 2024
1f92b40
Update query snapshots
github-actions[bot] Oct 22, 2024
c7a7b03
Merge branch 'master' into dn-feat/create-overrides-tables
daibhin Oct 28, 2024
b52fdd2
fix migration numbering
daibhin Oct 28, 2024
f2795f6
Update query snapshots
github-actions[bot] Oct 28, 2024
f90e890
Update query snapshots
github-actions[bot] Oct 28, 2024
8511c8e
Merge branch 'master' into dn-feat/create-overrides-tables
daibhin Oct 29, 2024
75a631c
update migration file name
daibhin Oct 29, 2024
8063f46
reset snapshots
daibhin Oct 29, 2024
8a2bdd0
reset snapshots
daibhin Oct 29, 2024
afe113c
Update query snapshots
github-actions[bot] Oct 29, 2024
dbc2fd5
Update query snapshots
github-actions[bot] Oct 29, 2024
50a84de
Update query snapshots
github-actions[bot] Oct 29, 2024
be6cc43
Update query snapshots
github-actions[bot] Oct 29, 2024
f8646e8
Merge branch 'master' into dn-feat/create-overrides-tables
daibhin Oct 29, 2024
4ea53a7
Update query snapshots
github-actions[bot] Oct 29, 2024
4db2503
Update query snapshots
github-actions[bot] Oct 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
combine as single migration
  • Loading branch information
daibhin committed Oct 21, 2024
commit 229419d223c8312bbd72f19a8150ee9ff5950040

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
from posthog.clickhouse.client.migration_tools import run_sql_with_exceptions
from posthog.models.error_tracking.sql import (
ERROR_TRACKING_ISSUE_FINGERPRINT_OVERRIDES_TABLE_SQL,
KAFKA_ERROR_TRACKING_ISSUE_FINGERPRINT_OVERRIDES_TABLE_SQL,
ERROR_TRACKING_ISSUE_FINGERPRINT_OVERRIDES_MV_SQL,
)


operations = [
run_sql_with_exceptions(ERROR_TRACKING_ISSUE_FINGERPRINT_OVERRIDES_TABLE_SQL()),
run_sql_with_exceptions(KAFKA_ERROR_TRACKING_ISSUE_FINGERPRINT_OVERRIDES_TABLE_SQL()),
run_sql_with_exceptions(ERROR_TRACKING_ISSUE_FINGERPRINT_OVERRIDES_MV_SQL),
]