Closed lock14 closed 9 months ago
This bug will be affected by the work @pdewilde is currently doing to optimize the BigQuery queries. Fixing this bug should be put on hold until he is finished as it will affect how we want to go about getting unique events.
TL;DR
The Unique Events view produces incorrect results. It counts events as unique when it shouldn't.
Expected behavior
Through testing it was confirmed that
delivery_id
is a unique identifier for each event (chat disucssion: https://chat.google.com/room/AAAARN8nfyk/1FpSGdRWuu8)Thus the number of unique events should be equal to the number of unique
delivery_id
. This is not the case though.Observed behavior
Running the following query show that the
unique_events
view over counts the events:Environment Details
Additional information
The following query will correctly de-duplicate events based on the
delivery_id
This produces the correct number of events which can be verified with the following query: