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

feat(experiments): Support for data warehouse experiments #26247

Closed
wants to merge 39 commits into from

Conversation

danielbachhuber
Copy link
Contributor

@danielbachhuber danielbachhuber commented Nov 18, 2024

See #26332

Changes

TBD

Still to do:

  • Add tests
  • Confirm that the properties statement is an AND filter
  • Fix TrendsQueryBuilder per Tom's comment and add a test case
  • Make sure that our join on the events table uses the correct $feature_flag_called event (the most recent)
  • Make sure that we're only including a data warehouse row if the $feature_flag_called event has already been called

How did you test this code?

TBD

Copy link
Contributor

github-actions bot commented Nov 18, 2024

Size Change: 0 B

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.16 MB

compressed-size-action

return BreakdownFilter(
breakdown=self.breakdown_key,
breakdown_type="event",
)

def _get_data_warehouse_breakdown_filter(self, column_name: str) -> BreakdownFilter:
return BreakdownFilter(
breakdown=f"{column_name}.properties.`{self.breakdown_key}`",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jurajmajerik As it turns out, this syntax isn't supported yet. See some conversation here: https://posthog.slack.com/archives/C019RAX2XBN/p1732050126051829

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@danielbachhuber
Copy link
Contributor Author

Messy rebase, starting afresh #26356

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