Skip to content

Commit 0f8189f

Browse files
authored
Bug 1451907 - Add default_search_engine column to search aggregates (#230)
1 parent 9d538e7 commit 0f8189f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

mozetl/search/aggregates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def search_aggregates(main_summary):
9898
'search_cohort',
9999
'source',
100100
'submission_date',
101+
'default_search_engine',
101102
],
102103
[]
103104
).where(col('engine').isNotNull())

tests/test_search_aggregates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ def expected_search_dashboard_data(define_dataframe_factory):
252252
('app_version', '54.0.1', StringType(), True),
253253
('distribution_id', None, StringType(), True),
254254
('addon_version', '0.9.5', StringType(), False),
255+
('default_search_engine', 'google', StringType(), False),
255256
('engine', 'google', StringType(), False),
256257
('source', 'urlbar', StringType(), False),
257258
('tagged-sap', None, LongType(), True),

0 commit comments

Comments
 (0)