Skip to content

chore(clickhouse): avoid creating kafka_events, events_mv #9863

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

Merged
merged 3 commits into from
May 20, 2022

Conversation

hazzadous
Copy link
Contributor

To avoid needing to run ClickHouse with protobuf support, I am changing
the migrations to not create the kafka_events table. Older installs will
still have these tables however.

Problem

Changes

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

To avoid needing to run ClickHouse with protobuf support, I am changing
the migrations to not create the kafka_events table. Older installs will
still have these tables however.
@hazzadous hazzadous requested a review from yakkomajuri May 19, 2022 15:54
@yakkomajuri
Copy link
Contributor

Thank you!

@hazzadous hazzadous enabled auto-merge (squash) May 20, 2022 08:21
@macobo
Copy link
Contributor

macobo commented May 20, 2022

sync_replicated_schema needs updating.

@hazzadous
Copy link
Contributor Author

sync_replicated_schema needs updating.

Will update 🙏

Harry Waye and others added 2 commits May 20, 2022 10:47
Instead of the old, protobuf based tables we check for the new, json
based tables.
@hazzadous hazzadous merged commit d1ffdf0 into master May 20, 2022
@hazzadous hazzadous deleted the chore/dont-create-proto-kafka-tables branch May 20, 2022 11:07
fuziontech added a commit that referenced this pull request May 20, 2022
* master:
  chore: start stack once in cloud tests (#9879)
  feat(apps): frontend apps (#9831)
  chore: Fix snapshots on master (#9885)
  chore(apps): rename plugins to apps (#9755)
  refactor: Remove constance library dependency, use json-encoded model (#9852)
  chore(clickhouse): avoid creating kafka_events, events_mv (#9863)
  fix(insights): Fix timezone date issues (#9678)
  refactor(plugin-server): refactor the event pipeline (#9829)
  feat(object storage): add unused object storage (#9846)
  fix: make kafka health check timeout test reliable (#9857)
  fix: query elements from start of day (#9827)
alexkim205 pushed a commit that referenced this pull request May 23, 2022
To avoid needing to run ClickHouse with protobuf support, I am changing
the migrations to not create the kafka_events table. Older installs will
still have these tables however.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants