First version of name unification for a deal
This commit is contained in:
parent
1e89966153
commit
f18a2eb520
2 changed files with 65 additions and 11 deletions
|
|
@ -2971,7 +2971,9 @@ models:
|
|||
the same time, not all users that act as hosts have a deal associated. One
|
||||
example is Know Your Guest (KYG) Lite accounts. However, there's also historical
|
||||
cases that for whatever reason there's no Deal associated.
|
||||
|
||||
For this model, the billing country and the deal name are estimated based on
|
||||
the information available in int_core__unified_user.
|
||||
|
||||
columns:
|
||||
- name: id_deal
|
||||
data_type: character varying
|
||||
|
|
@ -2979,6 +2981,17 @@ models:
|
|||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
- name: main_deal_name
|
||||
data_type: string
|
||||
description: |
|
||||
Main name for this ID deal. It's a clean version of
|
||||
the most repeated name within the user tables in the
|
||||
fields of first_name, last_name and company name.
|
||||
This field should be modified at the moment we have
|
||||
a proper way to retrieve a common account name per deal.
|
||||
It can contain duplicates.
|
||||
tests:
|
||||
- not_null
|
||||
- name: main_id_billing_country_per_deal
|
||||
data_type: integer
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue