-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle denormalized properties everywhere* (#5635)
* WIP: port process_math to support materialized columns * Add skipped test showing trend breakdowns dont use materialized columns * Simplify testing and test&fix math property aggregation w/ materialized columns * Add (failing) test for filtering with materialized action props * Add test around materialized property filtering * Refactor entity.math materialization impl * Make trends breakdowns work with materialized columns * Simplify process_math further * Handle denormalized properties in format_action_filter for step.properties Note the following files all called this method: ee/clickhouse/views/events.py ee/clickhouse/views/actions.py ee/clickhouse/queries/trends/util.py ee/clickhouse/queries/trends/lifecycle.py ee/clickhouse/queries/trends/breakdown.py ee/clickhouse/queries/funnels/base.py ee/clickhouse/queries/sessions/util.py ee/clickhouse/queries/clickhouse_stickiness.py ee/clickhouse/queries/clickhouse_retention.py ee/clickhouse/models/cohort.py I verified all of them are OK since they query events table directly with the passed filter * Handle materialized $current_url in action step filtering * Remove now unneeded clause * Update test helper * Allow denormalized props for filtering with breakdowns * Allow denormalized props for filtering with lifecycle * Allow denormalized props for some views * Fix entity math yet again * Query materialized columns in insights > sessions * Handle breakdown edge case * Allow denormalized props for more views * PR feedback * reformat
- Loading branch information
Showing
19 changed files
with
168 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.