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

Materialize Views to wrap data coming in from Kafka for Events, Elements, People #1678

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

fuziontech
Copy link
Member

No description provided.

@timgl timgl temporarily deployed to posthog-matview-2aqtxqoukbr6ue September 17, 2020 18:06 Inactive

operations = [
migrations.RunSQL(KAFKA_EVENTS_TABLE_SQL),
migrations.RunSQL(KAFKA_ELEMENTS_TABLE_SQL),
migrations.RunSQL(KAFKA_ELEMENTS_GROUP_TABLE_SQL),
migrations.RunSQL(KAFKA_PERSONS_TABLE_SQL),
migrations.RunSQL(KAFKA_PERSONS_DISTINCT_ID_TABLE_SQL),
migrations.RunSQL(EVENTS_TABLE_MV_SQL),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to put them in the same migration? Are you going to force run this migration again?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't run the migration on prod yet. Only manually creating tables to test. This all has only been tested locally.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it. i thought the migrations that exist currently were all run in prod already

@fuziontech fuziontech merged commit 2fd4fc9 into master Sep 17, 2020
@fuziontech fuziontech deleted the matview branch September 17, 2020 18:22
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