[ð 0x22cf] [20:30:00.001550] [DEBUG] [ð MultiFetcher.initialize_sources] Begin initialization of 2 children.
[ð 0x22cf] [20:30:00.001652] [DEBUG] [ð MemoryFetcher.initialize_sources] Begin initialization of 'MemoryFetcher' at 0x74426f7bf610.
[ð 0x22cf] [20:30:00.001726] [INFO] [â
MemoryFetcher.initialize_sources] Finished initialization of 'MemoryFetcher' in 84 Ξs: MemoryFetcher(sources=['category'], return_all=True)
[ð 0x22cf] [20:30:00.001822] [DEBUG] [ð SqlFetcher.initialize_sources] Begin initialization of 'SqlFetcher' at 0x74426f7bf750.
[ð 0x22cf] [20:30:00.069179] [DEBUG] [id_translation.fetching] Metadata for 'postgresql+pg8000://postgres:***@localhost:5002/sakila' created in 67 ms.
[ð 0x22cf] [20:30:00.069277] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'str_uuid', 'comment', 'uuid'} for source='uuid_test_table'.
[ð 0x22cf] [20:30:00.069350] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='uuid_test_table' for ['id']x['str_uuid', 'comment', 'uuid'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.069401] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.069441] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.069467] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.069533] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='uuid_test_table':
('id', ['uuid', 'str_uuid', 'comment']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.333, 0.142, -0.002].
[ð 0x22cf] [20:30:00.069588] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='uuid_test_table':
('id', ['uuid', 'str_uuid', 'comment']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.1, 0.374, -0.002].
[ð 0x22cf] [20:30:00.069637] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='uuid_test_table':
('id', ['uuid', 'str_uuid', 'comment']) -> ('uuid_test_table_id', *).
Positional penalty=0.010. Scores before penalty: [0.033, 0.022, -0.002].
[ð 0x22cf] [20:30:00.069681] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='uuid_test_table':
('id', ['uuid', 'str_uuid', 'comment']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.333, 0.142, -0.002].
[ð 0x22cf] [20:30:00.069720] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['uuid': 0.33 -> 0.33 (+0.00), 'str_uuid': 0.14 -> 0.37 (+0.23), 'comment': -0.00 -> -0.00 (+0.00)]
[ð 0x22cf] [20:30:00.070725] [DEBUG] [id_translation.fetching.map] Computed 1x3 match scores in context='uuid_test_table' in 438 Ξs:
candidates str_uuid comment uuid
values
id 0.37 -0.00 0.33
[ð 0x22cf] [20:30:00.070858] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'str_uuid'; score=0.369 < 0.9 (below threshold).
'id' -> 'uuid'; score=0.333 < 0.9 (below threshold).
'id' -> 'comment'; score=-0.002 < 0.9 (below threshold).
[ð 0x22cf] [20:30:00.070916] [DEBUG] [id_translation.fetching.map] Could not map {'id'} in context='uuid_test_table' to any of candidates={'uuid', 'str_uuid', 'comment'}.
[ð 0x22cf] [20:30:00.070955] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x{'uuid', 'str_uuid', 'comment'} in 2 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.070998] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='uuid_test_table': {'id': None}.
[ð 0x22cf] [20:30:00.071039] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'address2', 'address_id', 'address', 'postal_code', 'last_update', 'phone', 'district', 'city_id'} for source='address'.
[ð 0x22cf] [20:30:00.071094] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='address' for ['id']x['address2', 'address_id', 'address', 'postal_code', 'last_update', 'phone', 'district', 'city_id'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.071144] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.071182] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.071206] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.071275] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='address':
('id', ['address_id', 'address', 'postal_code', 'phone', 'district', 'city_id', 'address2', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.111, -0.001, -0.002, -0.003, -0.004, 0.162, -0.006, -0.007].
[ð 0x22cf] [20:30:00.071338] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='address':
('id', ['address_id', 'address', 'postal_code', 'phone', 'district', 'city_id', 'address2', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.167, -0.001, -0.002, -0.003, 0.121, 0.209, -0.006, -0.007].
[ð 0x22cf] [20:30:00.071397] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='address':
('id', ['address_id', 'address', 'postal_code', 'phone', 'district', 'city_id', 'address2', 'last_update']) -> ('address_id', *).
Positional penalty=0.010. Scores before penalty: [1.0, -0.001, -0.002, -0.003, 0.038, 0.102, -0.006, 0.043].
[ð 0x22cf] [20:30:00.071454] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='address':
('id', ['address_id', 'address', 'postal_code', 'phone', 'district', 'city_id', 'address2', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.111, -0.001, -0.002, -0.003, -0.004, 0.162, -0.006, -0.007].
[ð 0x22cf] [20:30:00.071502] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['address_id': 0.11 -> 0.99 (+0.88), 'address': -0.00 -> -0.00 (+0.00), 'postal_code': -0.00 -> -0.00 (+0.00), 'phone': -0.00 -> -0.00 (+0.00), 'district': -0.00 -> 0.12 (+0.12), 'city_id': 0.16 -> 0.20 (+0.04), 'address2': -0.01 -> -0.01 (+0.00), 'last_update': -0.01 -> 0.03 (+0.04)]
[ð 0x22cf] [20:30:00.072534] [DEBUG] [id_translation.fetching.map] Computed 1x8 match scores in context='address' in 475 Ξs:
candidates address2 address_id address postal_code last_update phone district city_id
values
id -0.01 0.99 -0.00 -0.00 0.03 -0.00 0.12 0.20
[ð 0x22cf] [20:30:00.072644] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'address_id'; score=0.990 >= 0.9.
[ð 0x22cf] [20:30:00.072703] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['address2', 'address_id', 'address', 'postal_code', 'last_update', 'phone', 'district', 'city_id'] in 2 ms. Matches:
'id' -> ('address_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.072752] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='address': {'id': 'address_id'}.
[ð 0x22cf] [20:30:00.072830] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'} for source='payment_p2007_06'.
[ð 0x22cf] [20:30:00.072890] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='payment_p2007_06' for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.072941] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.072981] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Discard source='payment_p2007_06'; matches pattern=re.compile('.*p2007.*', re.IGNORECASE).
[ð 0x22cf] [20:30:00.073011] [DEBUG] [id_translation.fetching.map] All candidates removed by filtering. Applied 1 filters for value='id', removing candidates={'staff_id', 'customer_id', 'rental_id', 'amount', 'payment_id', 'payment_date'}.
[ð 0x22cf] [20:30:00.073967] [DEBUG] [id_translation.fetching.map] Computed 1x6 match scores in context='payment_p2007_06' in 182 Ξs:
candidates staff_id customer_id amount payment_id rental_id payment_date
values
id -inf -inf -inf -inf -inf -inf
[ð 0x22cf] [20:30:00.074059] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'staff_id'; score=-inf (filtered).
'id' -> 'customer_id'; score=-inf (filtered).
'id' -> 'amount'; score=-inf (filtered).
'id' -> 'payment_id'; score=-inf (filtered).
'id' -> 'rental_id'; score=-inf (filtered).
'id' -> 'payment_date'; score=-inf (filtered).
[ð 0x22cf] [20:30:00.074122] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.074168] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='payment_p2007_06': {'id': None}.
[ð 0x22cf] [20:30:00.074210] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'fulltext', 'film_id', 'length', 'last_update'} for source='film'.
[ð 0x22cf] [20:30:00.074270] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='film' for ['id']x['title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'fulltext', 'film_id', 'length', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.074323] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.074357] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.074382] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.074470] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, -0.001, -0.002, -0.003, 0.096, -0.005, -0.006, 0.046, -0.008, -0.009, -0.01, 0.156, -0.012, -0.013].
[ð 0x22cf] [20:30:00.074548] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.0, -0.001, 0.012, 0.028, 0.09, 0.106, -0.006, 0.022, -0.008, -0.009, 0.021, 0.203, -0.012, 0.237].
[ð 0x22cf] [20:30:00.074625] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> ('film_id', *).
Positional penalty=0.010. Scores before penalty: [0.0, -0.001, -0.002, 0.026, 0.082, -0.005, -0.006, 0.024, -0.008, -0.009, -0.01, 0.989, -0.012, 0.058].
[ð 0x22cf] [20:30:00.074691] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.0, -0.001, -0.002, -0.003, 0.096, -0.005, -0.006, 0.046, -0.008, -0.009, -0.01, 0.156, -0.012, -0.013].
[ð 0x22cf] [20:30:00.074750] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['last_update': 0.00 -> 0.00 (+0.00), 'title': -0.00 -> -0.00 (+0.00), 'special_features': -0.00 -> 0.01 (+0.01), 'description': -0.00 -> 0.02 (+0.03), 'language_id': 0.10 -> 0.10 (+0.00), 'rating': -0.01 -> 0.10 (+0.11), 'replacement_cost': -0.01 -> -0.01 (+0.00), 'original_language_id': 0.05 -> 0.05 (+0.00), 'rental_rate': -0.01 -> -0.01 (+0.00), 'release_year': -0.01 -> -0.01 (+0.00), 'rental_duration': -0.01 -> 0.02 (+0.03), 'film_id': 0.16 -> 0.98 (+0.82), 'length': -0.01 -> -0.01 (+0.00), 'fulltext': -0.01 -> 0.23 (+0.24)]
[ð 0x22cf] [20:30:00.076120] [DEBUG] [id_translation.fetching.map] Computed 1x14 match scores in context='film' in 593 Ξs:
candidates title special_features description language_id rating replacement_cost original_language_id rental_rate release_year rental_duration fulltext film_id length last_update
values
id -0.00 0.01 0.02 0.10 0.10 -0.01 0.05 -0.01 -0.01 0.02 0.23 0.98 -0.01 0.00
[ð 0x22cf] [20:30:00.076240] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'film_id'; score=0.979 >= 0.9.
[ð 0x22cf] [20:30:00.076299] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'fulltext', 'film_id', 'length', 'last_update'] in 2 ms. Matches:
'id' -> ('film_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.076354] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='film': {'id': 'film_id'}.
[ð 0x22cf] [20:30:00.076398] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'name', 'language_id', 'last_update'} for source='language'.
[ð 0x22cf] [20:30:00.076450] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='language' for ['id']x['name', 'language_id', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.076496] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.076529] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.076553] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.076608] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='language':
('id', ['name', 'language_id', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, 0.099, -0.002].
[ð 0x22cf] [20:30:00.076658] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='language':
('id', ['name', 'language_id', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.0, 0.093, -0.002].
[ð 0x22cf] [20:30:00.076705] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='language':
('id', ['name', 'language_id', 'last_update']) -> ('language_id', *).
Positional penalty=0.010. Scores before penalty: [0.0, 0.999, 0.18].
[ð 0x22cf] [20:30:00.076748] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='language':
('id', ['name', 'language_id', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.0, 0.099, -0.002].
[ð 0x22cf] [20:30:00.076814] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['name': 0.00 -> 0.00 (+0.00), 'language_id': 0.10 -> 0.99 (+0.89), 'last_update': -0.00 -> 0.17 (+0.17)]
[ð 0x22cf] [20:30:00.077496] [DEBUG] [id_translation.fetching.map] Computed 1x3 match scores in context='language' in 422 Ξs:
candidates name language_id last_update
values
id 0.00 0.99 0.17
[ð 0x22cf] [20:30:00.077575] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'language_id'; score=0.989 >= 0.9.
[ð 0x22cf] [20:30:00.077627] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['name', 'language_id', 'last_update'] in 1 ms. Matches:
'id' -> ('language_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.077672] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='language': {'id': 'language_id'}.
[ð 0x22cf] [20:30:00.077717] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'customer_id', 'first_name', 'address_id', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update'} for source='customer'.
[ð 0x22cf] [20:30:00.077783] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='customer' for ['id']x['customer_id', 'first_name', 'address_id', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.077837] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.077872] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.077898] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.077969] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.1, 0.11, -0.002, -0.003, 0.121, 0.138, -0.006, -0.007, -0.008, -0.009].
[ð 0x22cf] [20:30:00.078036] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.094, 0.166, -0.002, 0.039, 0.046, 0.37, 0.05, -0.007, -0.008, -0.009].
[ð 0x22cf] [20:30:00.078100] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> ('customer_id', *).
Positional penalty=0.010. Scores before penalty: [1.0, 0.149, -0.002, 0.097, 0.053, 0.089, -0.006, -0.007, 0.083, 0.173].
[ð 0x22cf] [20:30:00.078162] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.1, 0.11, -0.002, -0.003, 0.121, 0.138, -0.006, -0.007, -0.008, -0.009].
[ð 0x22cf] [20:30:00.078216] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['customer_id': 0.10 -> 0.99 (+0.89), 'address_id': 0.11 -> 0.16 (+0.05), 'first_name': -0.00 -> -0.00 (+0.00), 'activebool': -0.00 -> 0.09 (+0.09), 'email': 0.12 -> 0.12 (+0.00), 'store_id': 0.14 -> 0.36 (+0.23), 'active': -0.01 -> 0.04 (+0.05), 'last_name': -0.01 -> -0.01 (+0.00), 'create_date': -0.01 -> 0.07 (+0.08), 'last_update': -0.01 -> 0.16 (+0.17)]
[ð 0x22cf] [20:30:00.079330] [DEBUG] [id_translation.fetching.map] Computed 1x10 match scores in context='customer' in 515 Ξs:
candidates customer_id first_name address_id activebool email store_id active last_name create_date last_update
values
id 0.99 -0.00 0.16 0.09 0.12 0.36 0.04 -0.01 0.07 0.16
[ð 0x22cf] [20:30:00.079428] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'customer_id'; score=0.990 >= 0.9.
[ð 0x22cf] [20:30:00.079481] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['customer_id', 'first_name', 'address_id', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update'] in 2 ms. Matches:
'id' -> ('customer_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.079531] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='customer': {'id': 'customer_id'}.
[ð 0x22cf] [20:30:00.079575] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'} for source='payment_p2007_04'.
[ð 0x22cf] [20:30:00.079628] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='payment_p2007_04' for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.079682] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.079717] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Discard source='payment_p2007_04'; matches pattern=re.compile('.*p2007.*', re.IGNORECASE).
[ð 0x22cf] [20:30:00.079748] [DEBUG] [id_translation.fetching.map] All candidates removed by filtering. Applied 1 filters for value='id', removing candidates={'staff_id', 'customer_id', 'rental_id', 'amount', 'payment_id', 'payment_date'}.
[ð 0x22cf] [20:30:00.080609] [DEBUG] [id_translation.fetching.map] Computed 1x6 match scores in context='payment_p2007_04' in 199 Ξs:
candidates staff_id customer_id amount payment_id rental_id payment_date
values
id -inf -inf -inf -inf -inf -inf
[ð 0x22cf] [20:30:00.080700] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'staff_id'; score=-inf (filtered).
'id' -> 'customer_id'; score=-inf (filtered).
'id' -> 'amount'; score=-inf (filtered).
'id' -> 'payment_id'; score=-inf (filtered).
'id' -> 'rental_id'; score=-inf (filtered).
'id' -> 'payment_date'; score=-inf (filtered).
[ð 0x22cf] [20:30:00.080770] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.080834] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='payment_p2007_04': {'id': None}.
[ð 0x22cf] [20:30:00.080878] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'last_update', 'actor_id', 'film_id'} for source='film_actor'.
[ð 0x22cf] [20:30:00.080928] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='film_actor' for ['id']x['last_update', 'actor_id', 'film_id'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.080977] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.081012] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.081038] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.081094] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='film_actor':
('id', ['film_id', 'actor_id', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.167, 0.142, -0.002].
[ð 0x22cf] [20:30:00.081145] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='film_actor':
('id', ['film_id', 'actor_id', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.214, 0.374, -0.002].
[ð 0x22cf] [20:30:00.081192] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='film_actor':
('id', ['film_id', 'actor_id', 'last_update']) -> ('film_actor_id', *).
Positional penalty=0.010. Scores before penalty: [0.061, 0.166, 0.028].
[ð 0x22cf] [20:30:00.081237] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='film_actor':
('id', ['film_id', 'actor_id', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.167, 0.142, -0.002].
[ð 0x22cf] [20:30:00.081280] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['film_id': 0.17 -> 0.21 (+0.04), 'actor_id': 0.14 -> 0.37 (+0.23), 'last_update': -0.00 -> 0.02 (+0.02)]
[ð 0x22cf] [20:30:00.081970] [DEBUG] [id_translation.fetching.map] Computed 1x3 match scores in context='film_actor' in 407 Ξs:
candidates last_update actor_id film_id
values
id 0.02 0.37 0.21
[ð 0x22cf] [20:30:00.082050] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'actor_id'; score=0.369 < 0.9 (below threshold).
'id' -> 'film_id'; score=0.209 < 0.9 (below threshold).
'id' -> 'last_update'; score=0.018 < 0.9 (below threshold).
[ð 0x22cf] [20:30:00.082102] [DEBUG] [id_translation.fetching.map] Could not map {'id'} in context='film_actor' to any of candidates={'film_id', 'actor_id', 'last_update'}.
[ð 0x22cf] [20:30:00.082138] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x{'film_id', 'actor_id', 'last_update'} in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.082180] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='film_actor': {'id': None}.
[ð 0x22cf] [20:30:00.082217] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'} for source='payment_p2007_01'.
[ð 0x22cf] [20:30:00.082269] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='payment_p2007_01' for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.082317] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.082351] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Discard source='payment_p2007_01'; matches pattern=re.compile('.*p2007.*', re.IGNORECASE).
[ð 0x22cf] [20:30:00.082381] [DEBUG] [id_translation.fetching.map] All candidates removed by filtering. Applied 1 filters for value='id', removing candidates={'staff_id', 'customer_id', 'rental_id', 'amount', 'payment_id', 'payment_date'}.
[ð 0x22cf] [20:30:00.083235] [DEBUG] [id_translation.fetching.map] Computed 1x6 match scores in context='payment_p2007_01' in 161 Ξs:
candidates staff_id customer_id amount payment_id rental_id payment_date
values
id -inf -inf -inf -inf -inf -inf
[ð 0x22cf] [20:30:00.083323] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'staff_id'; score=-inf (filtered).
'id' -> 'customer_id'; score=-inf (filtered).
'id' -> 'amount'; score=-inf (filtered).
'id' -> 'payment_id'; score=-inf (filtered).
'id' -> 'rental_id'; score=-inf (filtered).
'id' -> 'payment_date'; score=-inf (filtered).
[ð 0x22cf] [20:30:00.083390] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.083437] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='payment_p2007_01': {'id': None}.
[ð 0x22cf] [20:30:00.083477] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'last_update', 'country', 'country_id'} for source='country'.
[ð 0x22cf] [20:30:00.083526] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='country' for ['id']x['last_update', 'country', 'country_id'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.083570] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.083607] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.083631] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.083685] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='country':
('id', ['country_id', 'country', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.111, -0.001, -0.002].
[ð 0x22cf] [20:30:00.083735] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='country':
('id', ['country_id', 'country', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.125, -0.001, -0.002].
[ð 0x22cf] [20:30:00.083792] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='country':
('id', ['country_id', 'country', 'last_update']) -> ('country_id', *).
Positional penalty=0.010. Scores before penalty: [1.0, -0.001, -0.002].
[ð 0x22cf] [20:30:00.083837] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='country':
('id', ['country_id', 'country', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.111, -0.001, -0.002].
[ð 0x22cf] [20:30:00.083874] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['country_id': 0.11 -> 0.99 (+0.88), 'country': -0.00 -> -0.00 (+0.00), 'last_update': -0.00 -> -0.00 (+0.00)]
[ð 0x22cf] [20:30:00.084543] [DEBUG] [id_translation.fetching.map] Computed 1x3 match scores in context='country' in 402 Ξs:
candidates last_update country country_id
values
id -0.00 -0.00 0.99
[ð 0x22cf] [20:30:00.084621] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'country_id'; score=0.990 >= 0.9.
[ð 0x22cf] [20:30:00.084673] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['last_update', 'country', 'country_id'] in 1 ms. Matches:
'id' -> ('country_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.084717] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='country': {'id': 'country_id'}.
[ð 0x22cf] [20:30:00.084770] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'} for source='payment_p2007_02'.
[ð 0x22cf] [20:30:00.084844] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='payment_p2007_02' for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.084896] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.084932] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Discard source='payment_p2007_02'; matches pattern=re.compile('.*p2007.*', re.IGNORECASE).
[ð 0x22cf] [20:30:00.084962] [DEBUG] [id_translation.fetching.map] All candidates removed by filtering. Applied 1 filters for value='id', removing candidates={'staff_id', 'customer_id', 'rental_id', 'amount', 'payment_id', 'payment_date'}.
[ð 0x22cf] [20:30:00.085780] [DEBUG] [id_translation.fetching.map] Computed 1x6 match scores in context='payment_p2007_02' in 186 Ξs:
candidates staff_id customer_id amount payment_id rental_id payment_date
values
id -inf -inf -inf -inf -inf -inf
[ð 0x22cf] [20:30:00.085870] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'staff_id'; score=-inf (filtered).
'id' -> 'customer_id'; score=-inf (filtered).
'id' -> 'amount'; score=-inf (filtered).
'id' -> 'payment_id'; score=-inf (filtered).
'id' -> 'rental_id'; score=-inf (filtered).
'id' -> 'payment_date'; score=-inf (filtered).
[ð 0x22cf] [20:30:00.085933] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.085980] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='payment_p2007_02': {'id': None}.
[ð 0x22cf] [20:30:00.086020] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'last_update', 'category_id', 'film_id'} for source='film_category'.
[ð 0x22cf] [20:30:00.086073] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='film_category' for ['id']x['last_update', 'category_id', 'film_id'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.086117] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.086150] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.086173] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.086227] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='film_category':
('id', ['film_id', 'category_id', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.167, 0.099, -0.002].
[ð 0x22cf] [20:30:00.086276] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='film_category':
('id', ['film_id', 'category_id', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.214, 0.093, -0.002].
[ð 0x22cf] [20:30:00.086323] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='film_category':
('id', ['film_id', 'category_id', 'last_update']) -> ('film_category_id', *).
Positional penalty=0.010. Scores before penalty: [0.043, 0.166, 0.013].
[ð 0x22cf] [20:30:00.086367] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='film_category':
('id', ['film_id', 'category_id', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.167, 0.099, -0.002].
[ð 0x22cf] [20:30:00.086405] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['film_id': 0.17 -> 0.21 (+0.04), 'category_id': 0.10 -> 0.16 (+0.06), 'last_update': -0.00 -> 0.00 (+0.01)]
[ð 0x22cf] [20:30:00.087136] [DEBUG] [id_translation.fetching.map] Computed 1x3 match scores in context='film_category' in 384 Ξs:
candidates last_update category_id film_id
values
id 0.00 0.16 0.21
[ð 0x22cf] [20:30:00.087216] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'film_id'; score=0.209 < 0.9 (below threshold).
'id' -> 'category_id'; score=0.156 < 0.9 (below threshold).
'id' -> 'last_update'; score=0.003 < 0.9 (below threshold).
[ð 0x22cf] [20:30:00.087268] [DEBUG] [id_translation.fetching.map] Could not map {'id'} in context='film_category' to any of candidates={'film_id', 'category_id', 'last_update'}.
[ð 0x22cf] [20:30:00.087306] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x{'film_id', 'category_id', 'last_update'} in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.087351] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='film_category': {'id': None}.
[ð 0x22cf] [20:30:00.087391] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'staff_id', 'first_name', 'address_id', 'username', 'picture', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update'} for source='staff'.
[ð 0x22cf] [20:30:00.087445] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='staff' for ['id']x['staff_id', 'first_name', 'address_id', 'username', 'picture', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.087493] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.087531] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.087555] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.087630] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.143, -0.001, 0.109, -0.003, -0.004, 0.12, 0.065, 0.136, -0.008, -0.009, -0.01].
[ð 0x22cf] [20:30:00.087699] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.375, -0.001, 0.165, 0.068, -0.004, 0.045, 0.244, 0.368, 0.048, -0.009, -0.01].
[ð 0x22cf] [20:30:00.087772] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> ('staff_id', *).
Positional penalty=0.010. Scores before penalty: [1.0, -0.001, 0.123, -0.003, -0.004, 0.045, 0.119, 0.618, 0.048, -0.009, -0.01].
[ð 0x22cf] [20:30:00.087834] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.143, -0.001, 0.109, -0.003, -0.004, 0.12, 0.065, 0.136, -0.008, -0.009, -0.01].
[ð 0x22cf] [20:30:00.087889] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['staff_id': 0.14 -> 0.99 (+0.85), 'first_name': -0.00 -> -0.00 (+0.00), 'address_id': 0.11 -> 0.16 (+0.05), 'picture': -0.00 -> 0.06 (+0.07), 'username': -0.00 -> -0.00 (+0.00), 'email': 0.12 -> 0.12 (+0.00), 'password': 0.07 -> 0.24 (+0.17), 'store_id': 0.14 -> 0.61 (+0.47), 'active': -0.01 -> 0.04 (+0.05), 'last_name': -0.01 -> -0.01 (+0.00), 'last_update': -0.01 -> -0.01 (+0.00)]
[ð 0x22cf] [20:30:00.089096] [DEBUG] [id_translation.fetching.map] Computed 1x11 match scores in context='staff' in 518 Ξs:
candidates staff_id first_name address_id username picture email password store_id active last_name last_update
values
id 0.99 -0.00 0.16 -0.00 0.06 0.12 0.24 0.61 0.04 -0.01 -0.01
[ð 0x22cf] [20:30:00.089199] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'staff_id'; score=0.990 >= 0.9.
[ð 0x22cf] [20:30:00.089255] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['staff_id', 'first_name', 'address_id', 'username', 'picture', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update'] in 2 ms. Matches:
'id' -> ('staff_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.089304] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='staff': {'id': 'staff_id'}.
[ð 0x22cf] [20:30:00.089347] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'last_name', 'first_name', 'actor_id', 'last_update'} for source='actor'.
[ð 0x22cf] [20:30:00.089397] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='actor' for ['id']x['last_name', 'first_name', 'actor_id', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.089441] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.089475] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.089499] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.089556] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='actor':
('id', ['last_name', 'first_name', 'actor_id', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, -0.001, 0.141, -0.003].
[ð 0x22cf] [20:30:00.089608] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='actor':
('id', ['last_name', 'first_name', 'actor_id', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.0, -0.001, 0.373, -0.003].
[ð 0x22cf] [20:30:00.089662] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='actor':
('id', ['last_name', 'first_name', 'actor_id', 'last_update']) -> ('actor_id', *).
Positional penalty=0.010. Scores before penalty: [0.125, 0.041, 0.998, -0.003].
[ð 0x22cf] [20:30:00.089707] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='actor':
('id', ['last_name', 'first_name', 'actor_id', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.0, -0.001, 0.141, -0.003].
[ð 0x22cf] [20:30:00.089746] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['last_name': 0.00 -> 0.12 (+0.12), 'first_name': -0.00 -> 0.03 (+0.03), 'actor_id': 0.14 -> 0.99 (+0.85), 'last_update': -0.00 -> -0.00 (+0.00)]
[ð 0x22cf] [20:30:00.090484] [DEBUG] [id_translation.fetching.map] Computed 1x4 match scores in context='actor' in 415 Ξs:
candidates last_name first_name actor_id last_update
values
id 0.12 0.03 0.99 -0.00
[ð 0x22cf] [20:30:00.090562] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'actor_id'; score=0.988 >= 0.9.
[ð 0x22cf] [20:30:00.090614] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['last_name', 'first_name', 'actor_id', 'last_update'] in 1 ms. Matches:
'id' -> ('actor_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.090659] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='actor': {'id': 'actor_id'}.
[ð 0x22cf] [20:30:00.090703] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'country_id', 'last_update', 'city', 'city_id'} for source='city'.
[ð 0x22cf] [20:30:00.090752] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='city' for ['id']x['country_id', 'last_update', 'city', 'city_id'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.090811] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.090862] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x22cf] [20:30:00.090891] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x22cf] [20:30:00.090951] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='city':
('id', ['last_update', 'city', 'city_id', 'country_id']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, -0.001, 0.165, 0.108].
[ð 0x22cf] [20:30:00.091008] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='city':
('id', ['last_update', 'city', 'city_id', 'country_id']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.0, -0.001, 0.212, 0.122].
[ð 0x22cf] [20:30:00.091057] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='city':
('id', ['last_update', 'city', 'city_id', 'country_id']) -> ('city_id', *).
Positional penalty=0.010. Scores before penalty: [0.0, -0.001, 0.998, 0.14].
[ð 0x22cf] [20:30:00.091103] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='city':
('id', ['last_update', 'city', 'city_id', 'country_id']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.0, -0.001, 0.165, 0.108].
[ð 0x22cf] [20:30:00.091143] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['last_update': 0.00 -> 0.00 (+0.00), 'city': -0.00 -> -0.00 (+0.00), 'city_id': 0.16 -> 0.99 (+0.82), 'country_id': 0.11 -> 0.13 (+0.02)]
[ð 0x22cf] [20:30:00.091882] [DEBUG] [id_translation.fetching.map] Computed 1x4 match scores in context='city' in 446 Ξs:
candidates country_id last_update city city_id
values
id 0.13 0.00 -0.00 0.99
[ð 0x22cf] [20:30:00.091960] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'city_id'; score=0.988 >= 0.9.
[ð 0x22cf] [20:30:00.092011] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['country_id', 'last_update', 'city', 'city_id'] in 1 ms. Matches:
'id' -> ('city_id',)
Matched 1/1 values with 1 different candidates.
[ð 0x22cf] [20:30:00.092056] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='city': {'id': 'city_id'}.
[ð 0x22cf] [20:30:00.092100] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'} for source='payment_p2007_03'.
[ð 0x22cf] [20:30:00.092153] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='payment_p2007_03' for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.092201] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.092235] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Discard source='payment_p2007_03'; matches pattern=re.compile('.*p2007.*', re.IGNORECASE).
[ð 0x22cf] [20:30:00.092265] [DEBUG] [id_translation.fetching.map] All candidates removed by filtering. Applied 1 filters for value='id', removing candidates={'staff_id', 'customer_id', 'rental_id', 'amount', 'payment_id', 'payment_date'}.
[ð 0x22cf] [20:30:00.093143] [DEBUG] [id_translation.fetching.map] Computed 1x6 match scores in context='payment_p2007_03' in 168 Ξs:
candidates staff_id customer_id amount payment_id rental_id payment_date
values
id -inf -inf -inf -inf -inf -inf
[ð 0x22cf] [20:30:00.093234] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'staff_id'; score=-inf (filtered).
'id' -> 'customer_id'; score=-inf (filtered).
'id' -> 'amount'; score=-inf (filtered).
'id' -> 'payment_id'; score=-inf (filtered).
'id' -> 'rental_id'; score=-inf (filtered).
'id' -> 'payment_date'; score=-inf (filtered).
[ð 0x22cf] [20:30:00.093296] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.093341] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='payment_p2007_03': {'id': None}.
[ð 0x22cf] [20:30:00.093381] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'id'} to actual placeholders={'staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'} for source='payment_p2007_05'.
[ð 0x22cf] [20:30:00.093431] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='payment_p2007_05' for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x22cf] [20:30:00.093478] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['id'].
[ð 0x22cf] [20:30:00.093512] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Discard source='payment_p2007_05'; matches pattern=re.compile('.*p2007.*', re.IGNORECASE).
[ð 0x22cf] [20:30:00.093541] [DEBUG] [id_translation.fetching.map] All candidates removed by filtering. Applied 1 filters for value='id', removing candidates={'staff_id', 'customer_id', 'rental_id', 'amount', 'payment_id', 'payment_date'}.
[ð 0x22cf] [20:30:00.094374] [DEBUG] [id_translation.fetching.map] Computed 1x6 match scores in context='payment_p2007_05' in 159 Ξs:
candidates staff_id customer_id amount payment_id rental_id payment_date
values
id -inf -inf -inf -inf -inf -inf
[ð 0x22cf] [20:30:00.094462] [DEBUG] [id_translation.fetching.map] Could not map value='id'. Rejected matches:
'id' -> 'staff_id'; score=-inf (filtered).
'id' -> 'customer_id'; score=-inf (filtered).
'id' -> 'amount'; score=-inf (filtered).
'id' -> 'payment_id'; score=-inf (filtered).
'id' -> 'rental_id'; score=-inf (filtered).
'id' -> 'payment_date'; score=-inf (filtered).
[ð 0x22cf] [20:30:00.094528] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['id']x['staff_id', 'customer_id', 'amount', 'payment_id', 'rental_id', 'payment_date'] in 1 ms. Matches:
'id' -> <no matches>
Matched 0/1 values with 0 different candidates.
[ð 0x22cf] [20:30:00.094574] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='payment_p2007_05': {'id': None}.
[ð 0x22cf] [20:30:00.094613] [DEBUG] [id_translation.fetching] Discarded 9 tables. Reason: {'no ID column': ['uuid_test_table', 'payment_p2007_06', 'payment_p2007_04', 'film_actor', 'payment_p2007_01', 'payment_p2007_02', 'film_category', 'payment_p2007_03', 'payment_p2007_05']}
[ð 0x22cf] [20:30:00.094715] [INFO] [â
SqlFetcher.initialize_sources] Finished initialization of 'SqlFetcher' in 93 ms: SqlFetcher('postgresql+pg8000://postgres:***@localhost:5002/sakila', sources=['address', 'film', 'language', 'customer', 'country', 'staff', 'actor', 'city'])
[ð 0x22cf] [20:30:00.094782] [DEBUG] [â
MultiFetcher.initialize_sources] Finished initialization 2 children and 9 sources in 93 ms.
[ð 0x87d4] [20:30:00.247741] [DEBUG] [id_translation.dio] Using rank-0 (priority=1999) implementation 'id_translation.dio.integration.pandas.PandasIO' for translatable of type='pandas.DataFrame'.
[ð 0x87d4] [20:30:00.247952] [DEBUG] [ð Translator.translate] Begin translation of 'DataFrame'-type data. Names to translate: Derive based on type.
[ð 0x87d4] [20:30:00.248012] [DEBUG] [id_translation.Translator] Name extraction complete. Found names=['customer_id', 'film_id', 'category_id', 'staff_id', 'rental_date', 'return_date'] for 'DataFrame'-type data.
[ð 0x87d4] [20:30:00.248054] [DEBUG] [ð Translator.map] Begin name-to-source mapping of names=['customer_id', 'film_id', 'category_id', 'staff_id', 'rental_date', 'return_date'] in 'DataFrame' against sources=['category', 'address', 'film', 'language', 'customer', 'country', 'staff', 'actor', 'city'].
[ð 0x87d4] [20:30:00.248110] [DEBUG] [id_translation.Translator.map] Begin computing match scores for ['customer_id', 'film_id', 'category_id', 'staff_id', 'rental_date', 'return_date']x['category', 'address', 'film', 'language', 'customer', 'country', 'staff', 'actor', 'city'] using HeuristicScore([like_database_table()] -> modified_hamming).
[ð 0x87d4] [20:30:00.248164] [DEBUG] [id_translation.Translator.map] Applied 1 filters for value='customer_id', but did not remove any candidates.
[ð 0x87d4] [20:30:00.248191] [DEBUG] [id_translation.Translator.map] Compute match scores for value='customer_id'.
[ð 0x87d4] [20:30:00.248270] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function like_database_table() in context=None:
('customer_id', ['address', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']) -> ('customer', ['addres', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']).
Positional penalty=0.000. Scores before penalty: [0.056, -0.001, 0.123, 0.997, -0.004, -0.005, -0.006, 0.043, -0.008].
[ð 0x87d4] [20:30:00.248329] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='customer_id': ['address': 0.03 -> 0.06 (+0.03), 'film': -0.00 -> -0.00 (+0.00), 'category': 0.03 -> 0.12 (+0.09), 'customer': -0.00 -> 1.00 (+1.00), 'language': -0.00 -> -0.00 (+0.00), 'country': -0.01 -> -0.01 (+0.00), 'staff': -0.01 -> -0.01 (+0.00), 'actor': -0.01 -> 0.04 (+0.05), 'city': -0.01 -> -0.01 (+0.00)]
[ð 0x87d4] [20:30:00.248394] [DEBUG] [id_translation.Translator.map] Applied 1 filters for value='film_id', but did not remove any candidates.
[ð 0x87d4] [20:30:00.248419] [DEBUG] [id_translation.Translator.map] Compute match scores for value='film_id'.
[ð 0x87d4] [20:30:00.248479] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function like_database_table() in context=None:
('film_id', ['address', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']) -> ('film', ['addres', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']).
Positional penalty=0.000. Scores before penalty: [0.0, 0.999, -0.002, -0.003, -0.004, -0.005, -0.006, -0.007, 0.242].
[ð 0x87d4] [20:30:00.248531] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='film_id': ['address': 0.00 -> 0.00 (+0.00), 'film': -0.00 -> 1.00 (+1.00), 'category': -0.00 -> -0.00 (+0.00), 'customer': -0.00 -> -0.00 (+0.00), 'language': -0.00 -> -0.00 (+0.00), 'country': -0.01 -> -0.01 (+0.00), 'staff': -0.01 -> -0.01 (+0.00), 'actor': -0.01 -> -0.01 (+0.00), 'city': -0.01 -> 0.24 (+0.25)]
[ð 0x87d4] [20:30:00.248582] [DEBUG] [id_translation.Translator.map] Applied 1 filters for value='category_id', but did not remove any candidates.
[ð 0x87d4] [20:30:00.248607] [DEBUG] [id_translation.Translator.map] Compute match scores for value='category_id'.
[ð 0x87d4] [20:30:00.248668] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function like_database_table() in context=None:
('category_id', ['address', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']) -> ('category', ['addres', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']).
Positional penalty=0.000. Scores before penalty: [0.0, -0.001, 0.998, 0.122, 0.121, 0.138, -0.006, -0.007, 0.042].
[ð 0x87d4] [20:30:00.248722] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='category_id': ['address': 0.00 -> 0.00 (+0.00), 'film': -0.00 -> -0.00 (+0.00), 'category': -0.00 -> 1.00 (+1.00), 'customer': -0.00 -> 0.12 (+0.12), 'language': -0.00 -> 0.12 (+0.12), 'country': 0.02 -> 0.14 (+0.11), 'staff': -0.01 -> -0.01 (+0.00), 'actor': -0.01 -> -0.01 (+0.00), 'city': -0.01 -> 0.04 (+0.05)]
[ð 0x87d4] [20:30:00.248784] [DEBUG] [id_translation.Translator.map] Applied 1 filters for value='staff_id', but did not remove any candidates.
[ð 0x87d4] [20:30:00.248811] [DEBUG] [id_translation.Translator.map] Compute match scores for value='staff_id'.
[ð 0x87d4] [20:30:00.248872] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function like_database_table() in context=None:
('staff_id', ['address', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']) -> ('staff', ['addres', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city']).
Positional penalty=0.000. Scores before penalty: [0.0, -0.001, -0.002, -0.003, 0.046, -0.005, 0.994, -0.007, -0.008].
[ð 0x87d4] [20:30:00.248922] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='staff_id': ['address': 0.00 -> 0.00 (+0.00), 'film': 0.05 -> 0.05 (+0.00), 'category': -0.00 -> -0.00 (+0.00), 'customer': -0.00 -> -0.00 (+0.00), 'language': -0.00 -> 0.05 (+0.05), 'country': -0.01 -> -0.01 (+0.00), 'staff': -0.01 -> 0.99 (+1.00), 'actor': -0.01 -> -0.01 (+0.00), 'city': -0.01 -> -0.01 (+0.00)]
[ð 0x87d4] [20:30:00.248989] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Do not translate name='rental_date'; does not match pattern=re.compile('.*_id$', re.IGNORECASE).
[ð 0x87d4] [20:30:00.249021] [DEBUG] [id_translation.Translator.map] All candidates removed by filtering. Applied 1 filters for value='rental_date', removing candidates={'address', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city'}.
[ð 0x87d4] [20:30:00.249240] [DEBUG] [id_translation.mapping.filter_functions.filter_names] Do not translate name='return_date'; does not match pattern=re.compile('.*_id$', re.IGNORECASE).
[ð 0x87d4] [20:30:00.249270] [DEBUG] [id_translation.Translator.map] All candidates removed by filtering. Applied 1 filters for value='return_date', removing candidates={'address', 'film', 'category', 'customer', 'language', 'country', 'staff', 'actor', 'city'}.
[ð 0x87d4] [20:30:00.250513] [DEBUG] [id_translation.Translator.map] Computed 6x9 match scores in context=None in 1 ms:
candidates category address film language customer country staff actor city
values
customer_id 0.12 0.06 -0.00 -0.00 1.00 -0.01 -0.01 0.04 -0.01
film_id -0.00 0.00 1.00 -0.00 -0.00 -0.01 -0.01 -0.01 0.24
category_id 1.00 0.00 -0.00 0.12 0.12 0.14 -0.01 -0.01 0.04
staff_id -0.00 0.00 0.05 0.05 -0.00 -0.01 0.99 -0.01 -0.01
rental_date -inf -inf -inf -inf -inf -inf -inf -inf -inf
return_date -inf -inf -inf -inf -inf -inf -inf -inf -inf
[ð 0x87d4] [20:30:00.250686] [DEBUG] [id_translation.Translator.map] Accepted: 'film_id' -> 'film'; score=0.999 >= 0.9.
[ð 0x87d4] [20:30:00.250724] [DEBUG] [id_translation.Translator.map] Accepted: 'category_id' -> 'category'; score=0.998 >= 0.9.
[ð 0x87d4] [20:30:00.250755] [DEBUG] [id_translation.Translator.map] Accepted: 'customer_id' -> 'customer'; score=0.997 >= 0.9.
[ð 0x87d4] [20:30:00.250804] [DEBUG] [id_translation.Translator.map] Accepted: 'staff_id' -> 'staff'; score=0.994 >= 0.9.
[ð 0x87d4] [20:30:00.250835] [DEBUG] [id_translation.Translator.map] Could not map value='rental_date'. Rejected matches:
'rental_date' -> 'category'; score=-inf (filtered).
'rental_date' -> 'address'; score=-inf (filtered).
'rental_date' -> 'film'; score=-inf (filtered).
'rental_date' -> 'language'; score=-inf (filtered).
'rental_date' -> 'customer'; score=-inf (filtered).
'rental_date' -> 'country'; score=-inf (filtered).
'rental_date' -> 'staff'; score=-inf (filtered).
'rental_date' -> 'actor'; score=-inf (filtered).
'rental_date' -> 'city'; score=-inf (filtered).
[ð 0x87d4] [20:30:00.250889] [DEBUG] [id_translation.Translator.map] Could not map value='return_date'. Rejected matches:
'return_date' -> 'category'; score=-inf (filtered).
'return_date' -> 'address'; score=-inf (filtered).
'return_date' -> 'film'; score=-inf (filtered).
'return_date' -> 'language'; score=-inf (filtered).
'return_date' -> 'customer'; score=-inf (filtered).
'return_date' -> 'country'; score=-inf (filtered).
'return_date' -> 'staff'; score=-inf (filtered).
'return_date' -> 'actor'; score=-inf (filtered).
'return_date' -> 'city'; score=-inf (filtered).
[ð 0x87d4] [20:30:00.250986] [DEBUG] [id_translation.Translator.map] Mapping with cardinality='ManyToOne' finished for ['customer_id', 'film_id', 'category_id', 'staff_id', 'rental_date', 'return_date']x['category', 'address', 'film', 'language', 'customer', 'country', 'staff', 'actor', 'city'] in 3 ms. Matches:
'customer_id' -> ('customer',)
'film_id' -> ('film',)
'category_id' -> ('category',)
'staff_id' -> ('staff',)
'rental_date' -> <no matches>
'return_date' -> <no matches>
Matched 4/6 values with 4 different candidates.
[ð 0x87d4] [20:30:00.251054] [INFO] [â
Translator.map] Finished mapping of 4/6 names in 'DataFrame' in 3 ms: {'customer_id': 'customer', 'film_id': 'film', 'category_id': 'category', 'staff_id': 'staff', 'rental_date': None, 'return_date': None}.
[ð 0x87d4] [20:30:00.251295] [DEBUG] [ð MultiFetcher.fetch] Dispatch FETCH jobs for 4 sources using 2 different fetchers on 2 threads.
[ð 0x87d4] [20:30:00.251581] [DEBUG] [id_translation.fetching.MultiFetcher] Begin FETCH job for 3 sources using rank-1 fetcher SqlFetcher('postgresql+pg8000://postgres:***@localhost:5002/sakila', sources=['address', 'film', 'language', 'customer', 'country', 'staff', 'actor', 'city']) at 0x74426f7bf750.
[ð 0x87d4] [20:30:00.251674] [DEBUG] [ð SqlFetcher.fetch] Begin fetching placeholders=('id', 'name', 'last_name') for 22 IDs from 3 sources: {'staff': 2, 'customer': 10, 'film': 10}.
[ð 0x87d4] [20:30:00.251755] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'last_name', 'id', 'name'} to actual placeholders={'staff_id', 'first_name', 'address_id', 'username', 'picture', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update'} for source='staff'.
[ð 0x87d4] [20:30:00.251857] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='staff' for ['last_name', 'id', 'name']x['staff_id', 'first_name', 'address_id', 'username', 'picture', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x87d4] [20:30:00.251930] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['last_name', 'id', 'name'].
[ð 0x87d4] [20:30:00.251979] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='last_name', but did not remove any candidates.
[ð 0x87d4] [20:30:00.252035] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x87d4] [20:30:00.252073] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x87d4] [20:30:00.252151] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.143, -0.001, 0.109, -0.003, -0.004, 0.12, 0.065, 0.136, -0.008, -0.009, -0.01].
[ð 0x87d4] [20:30:00.252230] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.375, -0.001, 0.165, 0.068, -0.004, 0.045, 0.244, 0.368, 0.048, -0.009, -0.01].
[ð 0x87d4] [20:30:00.252306] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> ('staff_id', *).
Positional penalty=0.010. Scores before penalty: [1.0, -0.001, 0.123, -0.003, -0.004, 0.045, 0.119, 0.618, 0.048, -0.009, -0.01].
[ð 0x87d4] [20:30:00.252377] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='staff':
('id', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.143, -0.001, 0.109, -0.003, -0.004, 0.12, 0.065, 0.136, -0.008, -0.009, -0.01].
[ð 0x87d4] [20:30:00.252442] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['staff_id': 0.14 -> 0.99 (+0.85), 'first_name': -0.00 -> -0.00 (+0.00), 'address_id': 0.11 -> 0.16 (+0.05), 'picture': -0.00 -> 0.06 (+0.07), 'username': -0.00 -> -0.00 (+0.00), 'email': 0.12 -> 0.12 (+0.00), 'password': 0.07 -> 0.24 (+0.17), 'store_id': 0.14 -> 0.61 (+0.47), 'active': -0.01 -> 0.04 (+0.05), 'last_name': -0.01 -> -0.01 (+0.00), 'last_update': -0.01 -> -0.01 (+0.00)]
[ð 0x87d4] [20:30:00.252513] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='name', but did not remove any candidates.
[ð 0x87d4] [20:30:00.252554] [DEBUG] [id_translation.fetching.map] Compute match scores for value='name'.
[ð 0x87d4] [20:30:00.252614] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='staff':
('name', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, 0.142, -0.002, 0.059, 0.196, 0.12, -0.006, -0.007, 0.075, 0.158, 0.052].
[ð 0x87d4] [20:30:00.252696] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='staff':
('name', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> ('first_name', *).
Positional penalty=0.005. Scores before penalty: [0.0, 0.999, -0.002, 0.033, 0.204, 0.028, -0.006, -0.007, 0.025, 0.38, 0.09].
[ð 0x87d4] [20:30:00.252776] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='staff':
('name', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> ('staff_name', *).
Positional penalty=0.010. Scores before penalty: [0.0, 0.499, -0.002, 0.033, 0.163, 0.028, -0.006, -0.007, 0.025, 0.324, 0.09].
[ð 0x87d4] [20:30:00.252851] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='staff':
('name', ['staff_id', 'first_name', 'address_id', 'picture', 'username', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update']) -> ('staff', *).
Positional penalty=0.015. Scores before penalty: [0.0, 0.032, 0.031, 0.064, 0.046, 0.195, 0.044, -0.007, 0.092, 0.031, 0.019].
[ð 0x87d4] [20:30:00.252914] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='name': ['staff_id': 0.00 -> 0.00 (+0.00), 'first_name': 0.14 -> 0.99 (+0.85), 'address_id': -0.00 -> 0.02 (+0.02), 'picture': 0.06 -> 0.06 (+0.00), 'username': 0.20 -> 0.20 (+0.00), 'email': 0.12 -> 0.18 (+0.06), 'password': -0.01 -> 0.03 (+0.04), 'store_id': -0.01 -> -0.01 (+0.00), 'active': 0.08 -> 0.08 (+0.00), 'last_name': 0.16 -> 0.37 (+0.22), 'last_update': 0.05 -> 0.09 (+0.03)]
[ð 0x87d4] [20:30:00.254463] [DEBUG] [id_translation.fetching.map] Computed 3x11 match scores in context='staff' in 1 ms:
candidates staff_id first_name address_id username picture email password store_id active last_name last_update
values
last_name -inf -inf -inf -inf -inf -inf -inf -inf -inf inf -inf
id 0.99 -0.00 0.16 -0.00 0.06 0.12 0.24 0.61 0.04 -0.01 -0.01
name 0.00 0.99 0.02 0.20 0.06 0.18 0.03 -0.01 0.08 0.37 0.09
[ð 0x87d4] [20:30:00.254736] [DEBUG] [id_translation.fetching.map] Accepted: 'last_name' -> 'last_name'; score=inf (short-circuit or override).
[ð 0x87d4] [20:30:00.254790] [DEBUG] [id_translation.fetching.map] Accepted: 'name' -> 'first_name'; score=0.994 >= 0.9.
[ð 0x87d4] [20:30:00.254833] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'staff_id'; score=0.990 >= 0.9.
[ð 0x87d4] [20:30:00.254898] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['last_name', 'id', 'name']x['staff_id', 'first_name', 'address_id', 'username', 'picture', 'email', 'password', 'store_id', 'active', 'last_name', 'last_update'] in 3 ms. Matches:
'last_name' -> ('last_name',)
'id' -> ('staff_id',)
'name' -> ('first_name',)
Matched 3/3 values with 3 different candidates.
[ð 0x87d4] [20:30:00.254963] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='staff': {'last_name': 'last_name', 'name': 'first_name', 'id': 'staff_id'}.
[ð 0x87d4] [20:30:00.255020] [DEBUG] [ð SqlFetcher.fetch_translations] Begin fetching 2 IDs from source='staff'. Placeholders: ('staff_id', 'first_name', 'last_name').
[ð 0x87d4] [20:30:00.255388] [DEBUG] [id_translation.fetching] Full SELECT-query using 'postgresql+pg8000://postgres:***@localhost:5002/sakila':
SELECT staff.staff_id, staff.first_name, staff.last_name
FROM staff
WHERE staff.staff_id IN (1, 2)
[ð 0x87d4] [20:30:00.255721] [DEBUG] [id_translation.fetching.MultiFetcher] Begin FETCH job for 1 sources using rank-0 fetcher MemoryFetcher(sources=['category'], return_all=True) at 0x74426f7bf610.
[ð 0x87d4] [20:30:00.255809] [DEBUG] [ð MemoryFetcher.fetch] Begin fetching placeholders=('id', 'name', 'last_name') for 7 IDs from 1 sources: {'category': 7}.
[ð 0x87d4] [20:30:00.255890] [DEBUG] [ð MemoryFetcher.map_placeholders] Begin mapping of wanted placeholders={'last_name', 'id', 'name'} to actual placeholders={'id', 'name'} for source='category'.
[ð 0x87d4] [20:30:00.255960] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='category' for ['last_name', 'id', 'name']x['id', 'name'] using HeuristicScore([force_lower_case()] -> MemoryFetcher.default_score_function).
[ð 0x87d4] [20:30:00.256009] [DEBUG] [id_translation.fetching.map] Compute match scores for value='last_name'.
[ð 0x87d4] [20:30:00.256068] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='category':
('last_name', ['id', 'name']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, 0.166].
[ð 0x87d4] [20:30:00.256201] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='last_name': ['id': 0.00 -> 0.00 (+0.00), 'name': 0.17 -> 0.17 (+0.00)]
[ð 0x87d4] [20:30:00.257108] [DEBUG] [id_translation.fetching.map] Computed 3x2 match scores in context='category' in 316 Ξs:
candidates id name
values
last_name 0.00 0.17
id inf -inf
name -inf inf
[ð 0x87d4] [20:30:00.257239] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'id'; score=inf (short-circuit or override).
[ð 0x87d4] [20:30:00.257289] [DEBUG] [id_translation.fetching.map] Accepted: 'name' -> 'name'; score=inf (short-circuit or override).
[ð 0x87d4] [20:30:00.257334] [DEBUG] [id_translation.fetching.map] Could not map value='last_name'. Rejected matches:
'last_name' -> 'name'; score=0.166 < 0.9 (below threshold).
'last_name' -> 'id'; score=0.000 < 0.9 (below threshold).
[ð 0x87d4] [20:30:00.257396] [DEBUG] [id_translation.fetching.map] Could not map {'last_name'} in context='category' to any of candidates={'id', 'name'}.
[ð 0x87d4] [20:30:00.257444] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['last_name', 'id', 'name']x{'id', 'name'} in 2 ms. Matches:
'last_name' -> <no matches>
'id' -> ('id',)
'name' -> ('name',)
Matched 2/3 values with 2 different candidates.
[ð 0x87d4] [20:30:00.257502] [DEBUG] [â
MemoryFetcher.map_placeholders] Finished placeholder mapping for source='category': {'id': 'id', 'name': 'name', 'last_name': None}.
[ð 0x87d4] [20:30:00.257555] [DEBUG] [ð MemoryFetcher.fetch_translations] Begin fetching 7 IDs from source='category'. Placeholders: ('id', 'name', 'last_name').
[ð 0x87d4] [20:30:00.257608] [DEBUG] [â
MemoryFetcher.fetch_translations] Finished fetching 16 IDs from source='category' in 53 Ξs. Placeholders: ('id', 'name').
[ð 0x87d4] [20:30:00.257663] [INFO] [â
MemoryFetcher.fetch] Finished fetching from 1 sources in 2 ms: ['category' x ('id', 'name') x 16/7 IDs].
[ð 0x87d4] [20:30:00.258715] [DEBUG] [â
SqlFetcher.fetch_translations] Finished fetching 2 IDs from source='staff' in 4 ms. Placeholders: ('staff_id', 'first_name', 'last_name').
[ð 0x87d4] [20:30:00.258793] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'last_name', 'id', 'name'} to actual placeholders={'customer_id', 'first_name', 'address_id', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update'} for source='customer'.
[ð 0x87d4] [20:30:00.258859] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='customer' for ['last_name', 'id', 'name']x['customer_id', 'first_name', 'address_id', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x87d4] [20:30:00.258912] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, but none were a match for the given values=['last_name', 'id', 'name'].
[ð 0x87d4] [20:30:00.258945] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='last_name', but did not remove any candidates.
[ð 0x87d4] [20:30:00.258986] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x87d4] [20:30:00.259009] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x87d4] [20:30:00.259063] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.1, 0.11, -0.002, -0.003, 0.121, 0.138, -0.006, -0.007, -0.008, -0.009].
[ð 0x87d4] [20:30:00.259127] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.094, 0.166, -0.002, 0.039, 0.046, 0.37, 0.05, -0.007, -0.008, -0.009].
[ð 0x87d4] [20:30:00.259190] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> ('customer_id', *).
Positional penalty=0.010. Scores before penalty: [1.0, 0.149, -0.002, 0.097, 0.053, 0.089, -0.006, -0.007, 0.083, 0.173].
[ð 0x87d4] [20:30:00.259248] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='customer':
('id', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.1, 0.11, -0.002, -0.003, 0.121, 0.138, -0.006, -0.007, -0.008, -0.009].
[ð 0x87d4] [20:30:00.259298] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['customer_id': 0.10 -> 0.99 (+0.89), 'address_id': 0.11 -> 0.16 (+0.05), 'first_name': -0.00 -> -0.00 (+0.00), 'activebool': -0.00 -> 0.09 (+0.09), 'email': 0.12 -> 0.12 (+0.00), 'store_id': 0.14 -> 0.36 (+0.23), 'active': -0.01 -> 0.04 (+0.05), 'last_name': -0.01 -> -0.01 (+0.00), 'create_date': -0.01 -> 0.07 (+0.08), 'last_update': -0.01 -> 0.16 (+0.17)]
[ð 0x87d4] [20:30:00.259350] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='name', but did not remove any candidates.
[ð 0x87d4] [20:30:00.259375] [DEBUG] [id_translation.fetching.map] Compute match scores for value='name'.
[ð 0x87d4] [20:30:00.259421] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='customer':
('name', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, -0.001, 0.141, -0.003, 0.121, -0.005, 0.077, 0.16, 0.054, 0.053].
[ð 0x87d4] [20:30:00.259483] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='customer':
('name', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> ('first_name', *).
Positional penalty=0.005. Scores before penalty: [0.0, -0.001, 0.998, -0.003, 0.029, -0.005, 0.027, 0.382, 0.142, 0.091].
[ð 0x87d4] [20:30:00.259542] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='customer':
('name', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> ('customer_name', *).
Positional penalty=0.010. Scores before penalty: [0.0, -0.001, 0.123, -0.003, 0.018, -0.005, 0.015, 0.104, 0.083, 0.052].
[ð 0x87d4] [20:30:00.259601] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='customer':
('name', ['customer_id', 'address_id', 'first_name', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update']) -> ('customer', *).
Positional penalty=0.015. Scores before penalty: [0.0, -0.001, -0.002, -0.003, -0.004, -0.005, -0.006, -0.007, -0.008, -0.009].
[ð 0x87d4] [20:30:00.259650] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='name': ['customer_id': 0.00 -> 0.00 (+0.00), 'address_id': -0.00 -> -0.00 (+0.00), 'first_name': 0.14 -> 0.99 (+0.85), 'activebool': -0.00 -> -0.00 (+0.00), 'email': 0.12 -> 0.12 (+0.00), 'store_id': -0.01 -> -0.01 (+0.00), 'active': 0.08 -> 0.08 (+0.00), 'last_name': 0.16 -> 0.38 (+0.22), 'create_date': 0.05 -> 0.14 (+0.08), 'last_update': 0.05 -> 0.09 (+0.03)]
[ð 0x87d4] [20:30:00.260861] [DEBUG] [id_translation.fetching.map] Computed 3x10 match scores in context='customer' in 866 Ξs:
candidates customer_id first_name address_id activebool email store_id active last_name create_date last_update
values
last_name -inf -inf -inf -inf -inf -inf -inf inf -inf -inf
id 0.99 -0.00 0.16 0.09 0.12 0.36 0.04 -0.01 0.07 0.16
name 0.00 0.99 -0.00 -0.00 0.12 -0.01 0.08 0.38 0.14 0.09
[ð 0x87d4] [20:30:00.261001] [DEBUG] [id_translation.fetching.map] Accepted: 'last_name' -> 'last_name'; score=inf (short-circuit or override).
[ð 0x87d4] [20:30:00.261044] [DEBUG] [id_translation.fetching.map] Accepted: 'name' -> 'first_name'; score=0.993 >= 0.9.
[ð 0x87d4] [20:30:00.261074] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'customer_id'; score=0.990 >= 0.9.
[ð 0x87d4] [20:30:00.261122] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['last_name', 'id', 'name']x['customer_id', 'first_name', 'address_id', 'activebool', 'email', 'store_id', 'active', 'last_name', 'create_date', 'last_update'] in 2 ms. Matches:
'last_name' -> ('last_name',)
'id' -> ('customer_id',)
'name' -> ('first_name',)
Matched 3/3 values with 3 different candidates.
[ð 0x87d4] [20:30:00.261175] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='customer': {'last_name': 'last_name', 'name': 'first_name', 'id': 'customer_id'}.
[ð 0x87d4] [20:30:00.261216] [DEBUG] [ð SqlFetcher.fetch_translations] Begin fetching 10 IDs from source='customer'. Placeholders: ('customer_id', 'first_name', 'last_name').
[ð 0x87d4] [20:30:00.261528] [DEBUG] [id_translation.fetching] Full SELECT-query using 'postgresql+pg8000://postgres:***@localhost:5002/sakila':
SELECT customer.customer_id, customer.first_name, customer.last_name
FROM customer
WHERE customer.customer_id IN (419, 261, 107, 493, 20, 565, 54, 313, 26, 381)
[ð 0x87d4] [20:30:00.263145] [DEBUG] [â
SqlFetcher.fetch_translations] Finished fetching 10 IDs from source='customer' in 2 ms. Placeholders: ('customer_id', 'first_name', 'last_name').
[ð 0x87d4] [20:30:00.263221] [DEBUG] [ð SqlFetcher.map_placeholders] Begin mapping of wanted placeholders={'last_name', 'id', 'name'} to actual placeholders={'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'fulltext', 'film_id', 'length', 'last_update'} for source='film'.
[ð 0x87d4] [20:30:00.263294] [DEBUG] [id_translation.fetching.map] Begin computing match scores in context='film' for ['last_name', 'id', 'name']x['title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'fulltext', 'film_id', 'length', 'last_update'] using HeuristicScore([force_lower_case() | value_fstring_alias(fstring='first_{value}') | value_fstring_alias(fstring='{context}_{value}') | value_fstring_alias(fstring='{context}', for_value='name')] -> AbstractFetcher.default_score_function).
[ð 0x87d4] [20:30:00.263358] [DEBUG] [id_translation.fetching.map] Applied 2 overrides, and found 1 matches={'name': 'title'} in the given values=['last_name', 'id', 'name'].
[ð 0x87d4] [20:30:00.263393] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='last_name', but did not remove any candidates.
[ð 0x87d4] [20:30:00.263418] [DEBUG] [id_translation.fetching.map] Compute match scores for value='last_name'.
[ð 0x87d4] [20:30:00.263498] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='film':
('last_name', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.074, 0.039, -0.002, -0.003, -0.004, -0.005, 0.022, -0.007, 0.103, 0.074, -0.01, -0.011, 0.03, -0.013].
[ð 0x87d4] [20:30:00.263585] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='film':
('last_name', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> ('first_last_name', *).
Positional penalty=0.005. Scores before penalty: [0.036, 0.017, -0.002, -0.003, -0.004, -0.005, 0.061, -0.007, 0.047, 0.053, -0.01, -0.011, 0.005, -0.013].
[ð 0x87d4] [20:30:00.263661] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='film':
('last_name', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> ('film_last_name', *).
Positional penalty=0.010. Scores before penalty: [0.045, 0.019, -0.002, -0.003, -0.004, -0.005, 0.042, -0.007, 0.06, 0.074, -0.01, -0.011, 0.007, -0.013].
[ð 0x87d4] [20:30:00.263732] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='film':
('last_name', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.074, 0.039, -0.002, -0.003, -0.004, -0.005, 0.022, -0.007, 0.103, 0.074, -0.01, -0.011, 0.03, -0.013].
[ð 0x87d4] [20:30:00.263801] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='last_name': ['last_update': 0.07 -> 0.07 (+0.00), 'title': 0.04 -> 0.04 (+0.00), 'special_features': -0.00 -> -0.00 (+0.00), 'description': -0.00 -> -0.00 (+0.00), 'language_id': -0.00 -> -0.00 (+0.00), 'rating': -0.01 -> -0.01 (+0.00), 'replacement_cost': 0.02 -> 0.06 (+0.03), 'original_language_id': -0.01 -> -0.01 (+0.00), 'rental_rate': 0.10 -> 0.10 (+0.00), 'release_year': 0.07 -> 0.07 (+0.00), 'rental_duration': -0.01 -> -0.01 (+0.00), 'film_id': -0.01 -> -0.01 (+0.00), 'length': 0.03 -> 0.03 (+0.00), 'fulltext': -0.01 -> -0.01 (+0.00)]
[ð 0x87d4] [20:30:00.263874] [DEBUG] [id_translation.fetching.map] Applied 1 filters for value='id', but did not remove any candidates.
[ð 0x87d4] [20:30:00.263900] [DEBUG] [id_translation.fetching.map] Compute match scores for value='id'.
[ð 0x87d4] [20:30:00.263953] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function force_lower_case() in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> (*, *).
Positional penalty=0.000. Scores before penalty: [0.0, -0.001, -0.002, -0.003, 0.096, -0.005, -0.006, 0.046, -0.008, -0.009, -0.01, 0.156, -0.012, -0.013].
[ð 0x87d4] [20:30:00.264021] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='first_{value}') in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> ('first_id', *).
Positional penalty=0.005. Scores before penalty: [0.0, -0.001, 0.012, 0.028, 0.09, 0.106, -0.006, 0.022, -0.008, -0.009, 0.021, 0.203, -0.012, 0.237].
[ð 0x87d4] [20:30:00.264089] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}_{value}') in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> ('film_id', *).
Positional penalty=0.010. Scores before penalty: [0.0, -0.001, -0.002, 0.026, 0.082, -0.005, -0.006, 0.024, -0.008, -0.009, -0.01, 0.989, -0.012, 0.058].
[ð 0x87d4] [20:30:00.264153] [DEBUG] [id_translation.mapping.HeuristicScore] Called non-mutating alias function value_fstring_alias(fstring='{context}', for_value='name') in context='film':
('id', ['last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext']) -> (*, *).
Positional penalty=0.015. Scores before penalty: [0.0, -0.001, -0.002, -0.003, 0.096, -0.005, -0.006, 0.046, -0.008, -0.009, -0.01, 0.156, -0.012, -0.013].
[ð 0x87d4] [20:30:00.264208] [DEBUG] [id_translation.mapping.HeuristicScore] Heuristics scores for value='id': ['last_update': 0.00 -> 0.00 (+0.00), 'title': -0.00 -> -0.00 (+0.00), 'special_features': -0.00 -> 0.01 (+0.01), 'description': -0.00 -> 0.02 (+0.03), 'language_id': 0.10 -> 0.10 (+0.00), 'rating': -0.01 -> 0.10 (+0.11), 'replacement_cost': -0.01 -> -0.01 (+0.00), 'original_language_id': 0.05 -> 0.05 (+0.00), 'rental_rate': -0.01 -> -0.01 (+0.00), 'release_year': -0.01 -> -0.01 (+0.00), 'rental_duration': -0.01 -> 0.02 (+0.03), 'film_id': 0.16 -> 0.98 (+0.82), 'length': -0.01 -> -0.01 (+0.00), 'fulltext': -0.01 -> 0.23 (+0.24)]
[ð 0x87d4] [20:30:00.265681] [DEBUG] [id_translation.fetching.map] Computed 3x14 match scores in context='film' in 1 ms:
candidates title special_features description language_id rating replacement_cost original_language_id rental_rate release_year rental_duration fulltext film_id length last_update
values
last_name 0.04 -0.00 -0.00 -0.00 -0.01 0.06 -0.01 0.10 0.07 -0.01 -0.01 -0.01 0.03 0.07
id -0.00 0.01 0.02 0.10 0.10 -0.01 0.05 -0.01 -0.01 0.02 0.23 0.98 -0.01 0.00
name inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf
[ð 0x87d4] [20:30:00.265865] [DEBUG] [id_translation.fetching.map] Accepted: 'name' -> 'title'; score=inf (short-circuit or override).
[ð 0x87d4] [20:30:00.265903] [DEBUG] [id_translation.fetching.map] Accepted: 'id' -> 'film_id'; score=0.979 >= 0.9.
[ð 0x87d4] [20:30:00.265941] [DEBUG] [id_translation.fetching.map] Could not map value='last_name'. Rejected matches:
'last_name' -> 'rental_rate'; score=0.103 < 0.9 (below threshold).
'last_name' -> 'release_year'; score=0.074 < 0.9 (below threshold).
'last_name' -> 'last_update'; score=0.074 < 0.9 (below threshold).
'last_name' -> 'replacement_cost'; score=0.056 < 0.9 (below threshold).
'last_name' -> 'title'; score=0.039 < 0.9 (below threshold).
'last_name' -> 'length'; score=0.030 < 0.9 (below threshold).
'last_name' -> 'special_features'; score=-0.002 < 0.9 (below threshold).
'last_name' -> 'description'; score=-0.003 < 0.9 (below threshold).
'last_name' -> 'language_id'; score=-0.004 < 0.9 (below threshold).
'last_name' -> 'rating'; score=-0.005 < 0.9 (below threshold).
'last_name' -> 'original_language_id'; score=-0.007 < 0.9 (below threshold).
'last_name' -> 'rental_duration'; score=-0.010 < 0.9 (below threshold).
'last_name' -> 'film_id'; score=-0.011 < 0.9 (below threshold).
'last_name' -> 'fulltext'; score=-0.013 < 0.9 (below threshold).
[ð 0x87d4] [20:30:00.266041] [DEBUG] [id_translation.fetching.map] Could not map {'last_name'} in context='film' to any of candidates={'last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext'}.
[ð 0x87d4] [20:30:00.266088] [DEBUG] [id_translation.fetching.map] Mapping with cardinality='ManyToOne' finished for ['last_name', 'id', 'name']x{'last_update', 'title', 'special_features', 'description', 'language_id', 'rating', 'replacement_cost', 'original_language_id', 'rental_rate', 'release_year', 'rental_duration', 'film_id', 'length', 'fulltext'} in 3 ms. Matches:
'last_name' -> <no matches>
'id' -> ('film_id',)
'name' -> ('title',)
Matched 2/3 values with 2 different candidates.
[ð 0x87d4] [20:30:00.266146] [DEBUG] [â
SqlFetcher.map_placeholders] Finished placeholder mapping for source='film': {'name': 'title', 'id': 'film_id', 'last_name': None}.
[ð 0x87d4] [20:30:00.266186] [DEBUG] [ð SqlFetcher.fetch_translations] Begin fetching 10 IDs from source='film'. Placeholders: ('film_id', 'title').
[ð 0x87d4] [20:30:00.266439] [DEBUG] [id_translation.fetching] Full SELECT-query using 'postgresql+pg8000://postgres:***@localhost:5002/sakila':
SELECT film.film_id, film.title
FROM film
WHERE film.film_id IN (994, 773, 454, 487, 134, 7, 489, 767, 797, 479)
[ð 0x87d4] [20:30:00.268099] [DEBUG] [â
SqlFetcher.fetch_translations] Finished fetching 10 IDs from source='film' in 2 ms. Placeholders: ('film_id', 'title').
[ð 0x87d4] [20:30:00.268181] [INFO] [â
SqlFetcher.fetch] Finished fetching from 3 sources in 17 ms: ['staff' x ('id', 'name', 'last_name') x 2/2 IDs], ['customer' x ('id', 'name', 'last_name') x 10/10 IDs], ['film' x ('id', 'name') x 10/10 IDs].
[ð 0x87d4] [20:30:00.268398] [DEBUG] [â
MultiFetcher.fetch] Finished FETCH jobs for 4 sources using 2 different fetchers in 17 ms.
[ð 0x87d4] [20:30:00.270237] [DEBUG] [id_translation.Translator] Performance counters [ms]: {'map': 3.052, 'extract': 0.18, 'fetch': 17.366, 'verify': 0.376, 'insert': 1.354, 'overhead': 0.423}
[ð 0x87d4] [20:30:00.270328] [INFO] [â
Translator.translate] Finished translation of 29 unique IDs (4 names) in 'DataFrame' in 23 ms.