Skip to content

Commit

Permalink
perf: Rewrite comparison operations that use property group values to…
Browse files Browse the repository at this point in the history
… support skip indices (#24381)

Co-authored-by: Marius Andra <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent 547d9f5 commit 4d99a9c
Show file tree
Hide file tree
Showing 6 changed files with 531 additions and 75 deletions.
2 changes: 1 addition & 1 deletion frontend/src/queries/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5159,7 +5159,7 @@
"type": "string"
},
"propertyGroupsMode": {
"enum": ["enabled", "disabled"],
"enum": ["enabled", "disabled", "optimized"],
"type": "string"
},
"s3TableUseInvalidColumns": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/queries/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export interface HogQLQueryModifiers {
personsJoinMode?: 'inner' | 'left'
bounceRatePageViewMode?: 'count_pageviews' | 'uniq_urls' | 'uniq_page_screen_autocaptures'
sessionTableVersion?: 'auto' | 'v1' | 'v2'
propertyGroupsMode?: 'enabled' | 'disabled'
propertyGroupsMode?: 'enabled' | 'disabled' | 'optimized'
}

export interface DataWarehouseEventsModifier {
Expand Down
1 change: 1 addition & 0 deletions frontend/src/scenes/debug/Modifiers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export function Modifiers<Q extends { response?: Record<string, any>; modifiers?
options={[
{ value: 'enabled', label: 'Enabled' },
{ value: 'disabled', label: 'Disabled' },
{ value: 'optimized', label: 'Enabled, with Optimizations' },
]}
onChange={(value) =>
setQuery({
Expand Down
Loading

0 comments on commit 4d99a9c

Please sign in to comment.