-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore(hogql): Add retention queries in HogQL #18831
Merged
Merged
Changes from 7 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
51bdfd0
Set up retention query runnner
webjunkie d7d7c3f
Adjust date ranges
webjunkie 53fb2cf
Fix date logic
webjunkie ebfb46c
Use and adapt existing code
webjunkie a9de5cc
Clean up use of properties and filters
webjunkie d035528
Streamline things by using HogQL AST
webjunkie bffc6e2
Add existing tests and adapt them
webjunkie c56b5fb
Adjust query date range
webjunkie 8c06ef9
Adjust schema, remove alias
webjunkie 594ee7a
Remove reliance on old filter
webjunkie 2a4fcdc
Clean up
webjunkie b98d0e0
Merge branch 'master' into chore/hogql-retention
webjunkie fe4d1d8
Use more AST and clean up
webjunkie 19413c3
Add feature flag for insights retention to frontend
webjunkie bece900
Clean up date filter
webjunkie 4f08651
Make more tests work
webjunkie e6b7005
Make 100% of tests pass
webjunkie 65f24f4
Remove use of old mixin
webjunkie 67234a3
Update UI snapshots for `chromium` (1)
github-actions[bot] 38af739
Add more types
webjunkie f47a920
Remove people_url from result
webjunkie 7059ca8
Fix lifecycle timezone test
webjunkie 22be1ce
Refactor self.event_query_type
webjunkie e0ccba4
Refactor
webjunkie 55c7f08
Merge branch 'master' into chore/hogql-retention
webjunkie 5076505
Fix types
webjunkie 11cfaac
Update query snapshots
github-actions[bot] 670fdba
Fix tests
webjunkie c3a117a
Fix tests
webjunkie 5eb60e4
Move entity_to_expr
webjunkie 59d9d69
Fix frontent type errors
webjunkie c95dee9
Fix test
webjunkie 6bfa0d4
Add tests for QueryDateRangeWithIntervals
webjunkie 3171d19
Add entity_to_expr tests
webjunkie e29e747
Change type to interface
webjunkie b0f8497
Make select query via AST
webjunkie e2e0fe5
Clean up use of returning and target entity
webjunkie c53639c
Add RetentionEntity type
webjunkie ec2f356
Update UI snapshots for `chromium` (1)
github-actions[bot] add7884
Fix regressions coming from putting more types 😭
webjunkie a8eb623
Merge branch 'master' into chore/hogql-retention
webjunkie 7dbf660
Revert timezone stuff after merge
webjunkie dbb8f26
Update UI snapshots for `chromium` (1)
github-actions[bot] 83dbf7e
Update UI snapshots for `chromium` (2)
github-actions[bot] cc72886
Update UI snapshots for `chromium` (1)
github-actions[bot] c6c8ce5
Update UI snapshots for `chromium` (2)
github-actions[bot] 4cf65bd
Update UI snapshots for `chromium` (1)
github-actions[bot] e331782
Update UI snapshots for `chromium` (1)
github-actions[bot] 02180eb
Merge branch 'master' into chore/hogql-retention
webjunkie fa20f1d
Update UI snapshots for `chromium` (1)
github-actions[bot] 120b0bc
Update UI snapshots for `chromium` (1)
github-actions[bot] c943cab
Update UI snapshots for `chromium` (1)
github-actions[bot] 3bcffbc
Update UI snapshots for `chromium` (1)
github-actions[bot] 95930d9
Update UI snapshots for `chromium` (1)
github-actions[bot] 226f3f2
Merge branch 'master' into chore/hogql-retention
webjunkie 5d3ea7b
Update UI snapshots for `chromium` (2)
github-actions[bot] 9c5e75e
Update UI snapshots for `chromium` (1)
github-actions[bot] 8ec4112
Update UI snapshots for `chromium` (2)
github-actions[bot] 55a8199
Merge branch 'master' into chore/hogql-retention
webjunkie 2cb2e70
Fix type issues
webjunkie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be great to have this a bit more complete