[Bug] For same idvisit, idvisitor is different in different tables. #22587
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Data Integrity & Accuracy
To Triage
An issue awaiting triage by a Matomo core team member
What happened?
We received a complaint from a customer that AdvertisingConversionExport plugin exports less data when they configure an export with and without clickIds.
On debugging the queries on Cloud, we came to know that issue is due to our join logic, when report is configured to export visits with clickIds, we join on
idvsit
log_clickid.idvisit = log_conversion.idvisit
and when its configured to export all visits we join onidvisitor
log_conversion.idvisitor = log_clickid.idvisitor
and hence we see the difference.We debugged further with this query to see the impact and found a mismatch of 2057 rows.
We also ran similar query between
log_visit
andlog_conversion
table and saw a similar mismatch of 905 rowsWhat should happen?
Idvistor should be same across all tables.
How can this be reproduced?
Check JIRA.
Matomo version
5.1.1
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: