Skip to content

Conversation

mariusandra
Copy link
Collaborator

🏮 Merging this enables "SQL insights" for the beta users cohort, and for those explicitly added to the event explorer beta 🏮

Problem

Releasing HogQL is tricky. There are 4 different flags you must enable (hogql-queries, data-exploration-live-events, database, data-exploration-query-tab) for each user who wants access to all parts of HogQL.

We'll still keep HogQL in a private/flagged beta for a little bit, and we need an easy way to add users to the beta.

Changes

  • Consolidates all of them into one flag: hogql.
  • I updated the flag on cloud to match all users who were in the previous "event explorer" beta.
  • The undocumented backend wedge that only enabled HogQL queries for our team now also uses this hogql flag. Keeping this backend flag allows us to quickly shut everything down if we need to. This however means that once you add users to the flag, it might take a minute or so before the backend gets the new flag and actually allows the queries for them.

How did you test this code?

Clicking things locally still worked.

Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

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

clicked around, seems to work

@pauldambra pauldambra enabled auto-merge (squash) March 23, 2023 15:09
@pauldambra pauldambra disabled auto-merge March 23, 2023 16:19
@mariusandra mariusandra merged commit 016c49c into master Mar 23, 2023
@mariusandra mariusandra deleted the consolidate-hogql-flags branch March 23, 2023 16:41
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.

2 participants