Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add urn_type field to traced data #118

Merged
merged 1 commit into from
Feb 12, 2021
Merged

Add urn_type field to traced data #118

merged 1 commit into from
Feb 12, 2021

Conversation

as2388
Copy link
Member

@as2388 as2388 commented Feb 10, 2021

convert_runs_to_traced_data() uses PhoneCleaner.normalise_phone in all cases, which strips the urn type. This seemed like a good idea at the time, but causes problems when working with telegram as those are being processed as phone numbers, causing complications in pipelines. As a workaround, this adds a urn_type, so the pipelines can decide how to interpret numbers based on whether they are telephone or telegram ids.

(In the long-term, including urns in the uuid tables might be a better way of handling this).

@as2388 as2388 requested a review from IsaackMwenda February 10, 2021 13:12
@as2388 as2388 merged commit 3a0d73d into master Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants