adobe / helix-run-query

service that executes queries on BigQuery datasets generated by Helix-Logging
Apache License 2.0
6 stars 11 forks source link

[Domain-list] hostname in response is not unique #1120

Closed lydiapuric closed 5 months ago

lydiapuric commented 5 months ago

Description The domain list provides the list of all domains available in RUM by domain. This domain should be unique. In case of hersheyland.com this domain is provided 2 times as domain inside the response.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://helix-pages.anywhere.run/helix-services/run-query@v3/dash/domain-list?interval=365&offset=0&domainkey='
  2. See response Response provides 2 times hersheyland.com as domain inside the response. ... { "hostname": "hersheyland.com", "ims_org_id": null, "first_visit": "2024-01-08", "last_visit": "2024-05-02", "current_month_visits": "456500", "total_visits": "23596414", "program_id": 50513, "environment_id": 440257 }, { "hostname": "hersheyland.com", "ims_org_id": null, "first_visit": "2024-01-08", "last_visit": "2024-05-02", "current_month_visits": "456500", "total_visits": "23596414", "program_id": 50513, "environment_id": 440257 },

Expected behavior Domain is unique in response.

cc @langswei