oss-know / airflow-jobs

Apache License 2.0
6 stars 19 forks source link

在github上查询的profile中增加根据profile推断的字段再将其存入opensearch #33

Closed ynang closed 2 years ago

ynang commented 2 years ago

1、在init_profiles中先增加新的7个推断字段并设置初始值,保证即使标题业务出现异常,存入到opensearch中的profile格式一致; 2、增加标题业务处理的异常类型:geopy.exc.GeocoderQueryError; 3、在init_profiles以及sync_profiles的过程中对标题业务进行进一步异常处理,增强代码健壮性,标题业务出现异常不影响原本的profile的初始化和更新操作; 4、对通过GoogleGeoApi查询出的地理信息进行拆解后存到“inferred_from_location”字段中; 5、与晨琪对接base中的infer_company_from_existed_profile_company功能。