537 lines
12 KiB
JSON
537 lines
12 KiB
JSON
{
|
|
"ods_table": "member_profiles",
|
|
"anchors": {
|
|
"api": "api-member-profiles",
|
|
"ods": "ods-member-profiles",
|
|
"dwd": {
|
|
"dim_member": "dwd-dim-member",
|
|
"dim_member_ex": "dwd-dim-member-ex"
|
|
}
|
|
},
|
|
"json_to_ods": [
|
|
{
|
|
"json_path": "id",
|
|
"ods_col": "id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "create_time",
|
|
"ods_col": "create_time",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "member_card_grade_code",
|
|
"ods_col": "member_card_grade_code",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "mobile",
|
|
"ods_col": "mobile",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "nickname",
|
|
"ods_col": "nickname",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "register_site_id",
|
|
"ods_col": "register_site_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "site_name",
|
|
"ods_col": "site_name",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "member_card_grade_name",
|
|
"ods_col": "member_card_grade_name",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "system_member_id",
|
|
"ods_col": "system_member_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "tenant_id",
|
|
"ods_col": "tenant_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "referrer_member_id",
|
|
"ods_col": "referrer_member_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "point",
|
|
"ods_col": "point",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "user_status",
|
|
"ods_col": "user_status",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "status",
|
|
"ods_col": "status",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "growth_value",
|
|
"ods_col": "growth_value",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "person_tenant_org_id",
|
|
"ods_col": "person_tenant_org_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "person_tenant_org_name",
|
|
"ods_col": "person_tenant_org_name",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "register_source",
|
|
"ods_col": "register_source",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "recharge_money_sum",
|
|
"ods_col": "recharge_money_sum",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "pay_money_sum",
|
|
"ods_col": "pay_money_sum",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
}
|
|
],
|
|
"ods_to_dwd": {
|
|
"id": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "member_id",
|
|
"cast": null,
|
|
"note": "字段重命名"
|
|
},
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "member_id",
|
|
"cast": null,
|
|
"note": "字段重命名"
|
|
}
|
|
],
|
|
"system_member_id": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "system_member_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"tenant_id": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "tenant_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"register_site_id": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "register_site_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"mobile": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "mobile",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"nickname": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "nickname",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"member_card_grade_code": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "member_card_grade_code",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"member_card_grade_name": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "member_card_grade_name",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"create_time": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "create_time",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"pay_money_sum": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "pay_money_sum",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
],
|
|
"recharge_money_sum": [
|
|
{
|
|
"dwd_table": "dim_member",
|
|
"dwd_col": "recharge_money_sum",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
],
|
|
"referrer_member_id": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "referrer_member_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"point": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "point",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"site_name": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "register_site_name",
|
|
"cast": null,
|
|
"note": "字段重命名"
|
|
}
|
|
],
|
|
"growth_value": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "growth_value",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"user_status": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "user_status",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"status": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "status",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"person_tenant_org_id": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "person_tenant_org_id",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
],
|
|
"person_tenant_org_name": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "person_tenant_org_name",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
],
|
|
"register_source": [
|
|
{
|
|
"dwd_table": "dim_member_ex",
|
|
"dwd_col": "register_source",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
]
|
|
},
|
|
"dwd_to_ods": {
|
|
"dim_member": [
|
|
{
|
|
"dwd_col": "member_id",
|
|
"type": "bigint",
|
|
"ods_source": "id",
|
|
"mapping_type": "直接",
|
|
"note": "字段重命名"
|
|
},
|
|
{
|
|
"dwd_col": "system_member_id",
|
|
"type": "bigint",
|
|
"ods_source": "system_member_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "tenant_id",
|
|
"type": "bigint",
|
|
"ods_source": "tenant_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "register_site_id",
|
|
"type": "bigint",
|
|
"ods_source": "register_site_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "mobile",
|
|
"type": "text",
|
|
"ods_source": "mobile",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "nickname",
|
|
"type": "text",
|
|
"ods_source": "nickname",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "member_card_grade_code",
|
|
"type": "bigint",
|
|
"ods_source": "member_card_grade_code",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "member_card_grade_name",
|
|
"type": "text",
|
|
"ods_source": "member_card_grade_name",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "create_time",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "update_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "—",
|
|
"note": "未显式映射"
|
|
},
|
|
{
|
|
"dwd_col": "pay_money_sum",
|
|
"type": "numeric",
|
|
"ods_source": "pay_money_sum",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
},
|
|
{
|
|
"dwd_col": "recharge_money_sum",
|
|
"type": "numeric",
|
|
"ods_source": "recharge_money_sum",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
},
|
|
{
|
|
"dwd_col": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_is_current",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_version",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
}
|
|
],
|
|
"dim_member_ex": [
|
|
{
|
|
"dwd_col": "member_id",
|
|
"type": "bigint",
|
|
"ods_source": "id",
|
|
"mapping_type": "直接",
|
|
"note": "字段重命名"
|
|
},
|
|
{
|
|
"dwd_col": "referrer_member_id",
|
|
"type": "bigint",
|
|
"ods_source": "referrer_member_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "point",
|
|
"type": "numeric",
|
|
"ods_source": "point",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "register_site_name",
|
|
"type": "text",
|
|
"ods_source": "site_name",
|
|
"mapping_type": "直接",
|
|
"note": "字段重命名"
|
|
},
|
|
{
|
|
"dwd_col": "growth_value",
|
|
"type": "numeric",
|
|
"ods_source": "growth_value",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "user_status",
|
|
"type": "integer",
|
|
"ods_source": "user_status",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "status",
|
|
"type": "integer",
|
|
"ods_source": "status",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "person_tenant_org_id",
|
|
"type": "bigint",
|
|
"ods_source": "person_tenant_org_id",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
},
|
|
{
|
|
"dwd_col": "person_tenant_org_name",
|
|
"type": "text",
|
|
"ods_source": "person_tenant_org_name",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
},
|
|
{
|
|
"dwd_col": "register_source",
|
|
"type": "text",
|
|
"ods_source": "register_source",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
},
|
|
{
|
|
"dwd_col": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_is_current",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_version",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
}
|
|
]
|
|
}
|
|
} |