在前后端开发联调前 的提交20260223
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,508 @@
|
||||
{
|
||||
"ods_table": "assistant_cancellation_records",
|
||||
"anchors": {
|
||||
"api": "api-assistant-cancellation-records",
|
||||
"ods": "ods-assistant-cancellation-records",
|
||||
"dwd": {
|
||||
"dwd_assistant_trash_event": "dwd-dwd-assistant-trash-event",
|
||||
"dwd_assistant_trash_event_ex": "dwd-dwd-assistant-trash-event-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "siteProfile.id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.org_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.avatar",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.business_tel",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.full_address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.longitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.latitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_site_region_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.auto_light",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_distance",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_password",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_qrcode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_wechat",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.fixed_pay_qrCode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.prod_env",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_token",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_label",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_enabled",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "createTime",
|
||||
"ods_col": "createtime",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteId",
|
||||
"ods_col": "siteid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableAreaId",
|
||||
"ods_col": "tableareaid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableId",
|
||||
"ods_col": "tableid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableArea",
|
||||
"ods_col": "tablearea",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableName",
|
||||
"ods_col": "tablename",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "assistantOn",
|
||||
"ods_col": "assistanton",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "assistantName",
|
||||
"ods_col": "assistantname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pdChargeMinutes",
|
||||
"ods_col": "pdchargeminutes",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "assistantAbolishAmount",
|
||||
"ods_col": "assistantabolishamount",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "trashReason",
|
||||
"ods_col": "trashreason",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "assistant_trash_event_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event_ex",
|
||||
"dwd_col": "assistant_trash_event_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"siteid": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tableid": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "table_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tableareaid": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "table_area_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"assistanton": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "assistant_no",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event_ex",
|
||||
"dwd_col": "assistant_no_int",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"assistantname": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "assistant_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"pdchargeminutes": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "charge_minutes_raw",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"assistantabolishamount": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "abolish_amount",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"trashreason": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "trash_reason",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"createtime": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "create_time",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"tablename": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event_ex",
|
||||
"dwd_col": "table_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tablearea": [
|
||||
{
|
||||
"dwd_table": "dwd_assistant_trash_event_ex",
|
||||
"dwd_col": "table_area_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_assistant_trash_event": [
|
||||
{
|
||||
"dwd_col": "assistant_trash_event_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "siteid",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tableid",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tableareaid",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "assistant_no",
|
||||
"type": "character varying",
|
||||
"ods_source": "assistanton",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "assistant_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "assistantname",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "charge_minutes_raw",
|
||||
"type": "integer",
|
||||
"ods_source": "pdchargeminutes",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "abolish_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "assistantabolishamount",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "trash_reason",
|
||||
"type": "character varying",
|
||||
"ods_source": "trashreason",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "create_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "createtime",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"dwd_assistant_trash_event_ex": [
|
||||
{
|
||||
"dwd_col": "assistant_trash_event_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "tablename",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_area_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "tablearea",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "assistant_no_int",
|
||||
"type": "integer",
|
||||
"ods_source": "assistanton",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,323 @@
|
||||
{
|
||||
"ods_table": "goods_stock_movements",
|
||||
"anchors": {
|
||||
"api": "api-goods-stock-movements",
|
||||
"ods": "ods-goods-stock-movements",
|
||||
"dwd": {
|
||||
"dwd_goods_stock_movement": "dwd-dwd-goods-stock-movement"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "siteGoodsStockId",
|
||||
"ods_col": "sitegoodsstockid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteGoodsId",
|
||||
"ods_col": "sitegoodsid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteId",
|
||||
"ods_col": "siteid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenantId",
|
||||
"ods_col": "tenantid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "stockType",
|
||||
"ods_col": "stocktype",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goodsName",
|
||||
"ods_col": "goodsname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "createTime",
|
||||
"ods_col": "createtime",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "startNum",
|
||||
"ods_col": "startnum",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "endNum",
|
||||
"ods_col": "endnum",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "changeNum",
|
||||
"ods_col": "changenum",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "unit",
|
||||
"ods_col": "unit",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "price",
|
||||
"ods_col": "price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operatorName",
|
||||
"ods_col": "operatorname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "changeNumA",
|
||||
"ods_col": "changenuma",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "startNumA",
|
||||
"ods_col": "startnuma",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "endNumA",
|
||||
"ods_col": "endnuma",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "remark",
|
||||
"ods_col": "remark",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goodsCategoryId",
|
||||
"ods_col": "goodscategoryid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goodsSecondCategoryId",
|
||||
"ods_col": "goodssecondcategoryid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"unit": [
|
||||
{
|
||||
"dwd_table": "dwd_goods_stock_movement",
|
||||
"dwd_col": "unit",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"price": [
|
||||
{
|
||||
"dwd_table": "dwd_goods_stock_movement",
|
||||
"dwd_col": "price",
|
||||
"cast": "numeric",
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"remark": [
|
||||
{
|
||||
"dwd_table": "dwd_goods_stock_movement",
|
||||
"dwd_col": "remark",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"fetched_at": [
|
||||
{
|
||||
"dwd_table": "dwd_goods_stock_movement",
|
||||
"dwd_col": "fetched_at",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_goods_stock_movement": [
|
||||
{
|
||||
"dwd_col": "site_goods_stock_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_goods_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_name",
|
||||
"type": "text",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_category_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_second_category_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "unit",
|
||||
"type": "text",
|
||||
"ods_source": "unit",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "price",
|
||||
"type": "numeric",
|
||||
"ods_source": "price",
|
||||
"mapping_type": "→ numeric",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "stock_type",
|
||||
"type": "integer",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "change_num",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "start_num",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "end_num",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "change_num_a",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "start_num_a",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "end_num_a",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "remark",
|
||||
"type": "text",
|
||||
"ods_source": "remark",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_name",
|
||||
"type": "text",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "create_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "fetched_at",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "fetched_at",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,243 @@
|
||||
{
|
||||
"ods_table": "goods_stock_summary",
|
||||
"anchors": {
|
||||
"api": "api-goods-stock-summary",
|
||||
"ods": "ods-goods-stock-summary",
|
||||
"dwd": {
|
||||
"dwd_goods_stock_summary": "dwd-dwd-goods-stock-summary"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "siteGoodsId",
|
||||
"ods_col": "sitegoodsid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goodsName",
|
||||
"ods_col": "goodsname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goodsUnit",
|
||||
"ods_col": "goodsunit",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goodsCategoryId",
|
||||
"ods_col": "goodscategoryid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goodsCategorySecondId",
|
||||
"ods_col": "goodscategorysecondid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "rangeStartStock",
|
||||
"ods_col": "rangestartstock",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "rangeEndStock",
|
||||
"ods_col": "rangeendstock",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "rangeIn",
|
||||
"ods_col": "rangein",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "rangeOut",
|
||||
"ods_col": "rangeout",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "rangeInventory",
|
||||
"ods_col": "rangeinventory",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "rangeSale",
|
||||
"ods_col": "rangesale",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "rangeSaleMoney",
|
||||
"ods_col": "rangesalemoney",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "currentStock",
|
||||
"ods_col": "currentstock",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryName",
|
||||
"ods_col": "categoryname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"fetched_at": [
|
||||
{
|
||||
"dwd_table": "dwd_goods_stock_summary",
|
||||
"dwd_col": "fetched_at",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_goods_stock_summary": [
|
||||
{
|
||||
"dwd_col": "site_goods_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_name",
|
||||
"type": "text",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_unit",
|
||||
"type": "text",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_category_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_category_second_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "category_name",
|
||||
"type": "text",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "range_start_stock",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "range_end_stock",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "range_in",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "range_out",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "range_sale",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "range_sale_money",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "range_inventory",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "current_stock",
|
||||
"type": "numeric",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "fetched_at",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "fetched_at",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,940 @@
|
||||
{
|
||||
"ods_table": "group_buy_packages",
|
||||
"anchors": {
|
||||
"api": "api-group-buy-packages",
|
||||
"ods": "ods-group-buy-packages",
|
||||
"dwd": {
|
||||
"dim_groupbuy_package": "dwd-dim-groupbuy-package",
|
||||
"dim_groupbuy_package_ex": "dwd-dim-groupbuy-package-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "site_name",
|
||||
"ods_col": "site_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "effective_status",
|
||||
"ods_col": "effective_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenantTableAreaIdList[]",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableAreaNameList[]",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenantCouponSaleOrderItemId",
|
||||
"ods_col": "tenantcouponsaleorderitemid",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "add_end_clock",
|
||||
"ods_col": "add_end_clock",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "add_start_clock",
|
||||
"ods_col": "add_start_clock",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "area_tag_type",
|
||||
"ods_col": "area_tag_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "card_type_ids",
|
||||
"ods_col": "card_type_ids",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_money",
|
||||
"ods_col": "coupon_money",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "create_time",
|
||||
"ods_col": "create_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "creator_name",
|
||||
"ods_col": "creator_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "date_info",
|
||||
"ods_col": "date_info",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "date_type",
|
||||
"ods_col": "date_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "duration",
|
||||
"ods_col": "duration",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "end_clock",
|
||||
"ods_col": "end_clock",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "end_time",
|
||||
"ods_col": "end_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "group_type",
|
||||
"ods_col": "group_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_delete",
|
||||
"ods_col": "is_delete",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_enabled",
|
||||
"ods_col": "is_enabled",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_first_limit",
|
||||
"ods_col": "is_first_limit",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "max_selectable_categories",
|
||||
"ods_col": "max_selectable_categories",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "package_id",
|
||||
"ods_col": "package_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "package_name",
|
||||
"ods_col": "package_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "selling_price",
|
||||
"ods_col": "selling_price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_id",
|
||||
"ods_col": "site_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "sort",
|
||||
"ods_col": "sort",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "start_clock",
|
||||
"ods_col": "start_clock",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "start_time",
|
||||
"ods_col": "start_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "system_group_type",
|
||||
"ods_col": "system_group_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_area_id",
|
||||
"ods_col": "table_area_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_area_id_list",
|
||||
"ods_col": "table_area_id_list",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_area_name",
|
||||
"ods_col": "table_area_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenant_table_area_id",
|
||||
"ods_col": "tenant_table_area_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenant_table_area_id_list",
|
||||
"ods_col": "tenant_table_area_id_list",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "type",
|
||||
"ods_col": "type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "usable_count",
|
||||
"ods_col": "usable_count",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "usable_range",
|
||||
"ods_col": "usable_range",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "groupbuy_package_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "groupbuy_package_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_id": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"package_name": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "package_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"package_id": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "package_template_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"selling_price": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "selling_price",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"coupon_money": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "coupon_face_value",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"duration": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "duration_seconds",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"start_time": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "start_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"end_time": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "end_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"table_area_name": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "table_area_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_enabled": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "is_enabled",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_delete": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "is_delete",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "create_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"tenant_table_area_id_list": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "tenant_table_area_id_list",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"card_type_ids": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "card_type_ids",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"sort": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "sort",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"is_first_limit": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package",
|
||||
"dwd_col": "is_first_limit",
|
||||
"cast": "boolean",
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"site_name": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "site_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"usable_count": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "usable_count",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"date_type": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "date_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"usable_range": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "usable_range",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"date_info": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "date_info",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"start_clock": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "start_clock",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"end_clock": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "end_clock",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"add_start_clock": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "add_start_clock",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"add_end_clock": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "add_end_clock",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"area_tag_type": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "area_tag_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"table_area_id": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "table_area_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"tenant_table_area_id": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "tenant_table_area_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"table_area_id_list": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "table_area_id_list",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"group_type": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "group_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"system_group_type": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "system_group_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"type": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "package_type",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"effective_status": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "effective_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"max_selectable_categories": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "max_selectable_categories",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"creator_name": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "creator_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"tenantcouponsaleorderitemid": [
|
||||
{
|
||||
"dwd_table": "dim_groupbuy_package_ex",
|
||||
"dwd_col": "tenant_coupon_sale_order_item_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dim_groupbuy_package": [
|
||||
{
|
||||
"dwd_col": "groupbuy_package_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "package_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "package_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "package_template_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "package_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "selling_price",
|
||||
"type": "numeric",
|
||||
"ods_source": "selling_price",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_face_value",
|
||||
"type": "numeric",
|
||||
"ods_source": "coupon_money",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "duration_seconds",
|
||||
"type": "integer",
|
||||
"ods_source": "duration",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "start_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "start_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "end_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "end_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_area_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "table_area_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_enabled",
|
||||
"type": "integer",
|
||||
"ods_source": "is_enabled",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_delete",
|
||||
"type": "integer",
|
||||
"ods_source": "is_delete",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "create_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "create_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_table_area_id_list",
|
||||
"type": "character varying",
|
||||
"ods_source": "tenant_table_area_id_list",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "card_type_ids",
|
||||
"type": "character varying",
|
||||
"ods_source": "card_type_ids",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "sort",
|
||||
"type": "integer",
|
||||
"ods_source": "sort",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_first_limit",
|
||||
"type": "boolean",
|
||||
"ods_source": "is_first_limit",
|
||||
"mapping_type": "→ boolean",
|
||||
"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_groupbuy_package_ex": [
|
||||
{
|
||||
"dwd_col": "groupbuy_package_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "site_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "usable_count",
|
||||
"type": "integer",
|
||||
"ods_source": "usable_count",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "date_type",
|
||||
"type": "integer",
|
||||
"ods_source": "date_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "usable_range",
|
||||
"type": "character varying",
|
||||
"ods_source": "usable_range",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "date_info",
|
||||
"type": "character varying",
|
||||
"ods_source": "date_info",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "start_clock",
|
||||
"type": "character varying",
|
||||
"ods_source": "start_clock",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "end_clock",
|
||||
"type": "character varying",
|
||||
"ods_source": "end_clock",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "add_start_clock",
|
||||
"type": "character varying",
|
||||
"ods_source": "add_start_clock",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "add_end_clock",
|
||||
"type": "character varying",
|
||||
"ods_source": "add_end_clock",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "area_tag_type",
|
||||
"type": "integer",
|
||||
"ods_source": "area_tag_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "table_area_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_table_area_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_area_id_list",
|
||||
"type": "character varying",
|
||||
"ods_source": "table_area_id_list",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "group_type",
|
||||
"type": "integer",
|
||||
"ods_source": "group_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "system_group_type",
|
||||
"type": "integer",
|
||||
"ods_source": "system_group_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "package_type",
|
||||
"type": "integer",
|
||||
"ods_source": "type",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "effective_status",
|
||||
"type": "integer",
|
||||
"ods_source": "effective_status",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "max_selectable_categories",
|
||||
"type": "integer",
|
||||
"ods_source": "max_selectable_categories",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "creator_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "creator_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_coupon_sale_order_item_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenantcouponsaleorderitemid",
|
||||
"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 元数据"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,657 @@
|
||||
{
|
||||
"ods_table": "member_balance_changes",
|
||||
"anchors": {
|
||||
"api": "api-member-balance-changes",
|
||||
"ods": "ods-member-balance-changes",
|
||||
"dwd": {
|
||||
"dwd_member_balance_change": "dwd-dwd-member-balance-change",
|
||||
"dwd_member_balance_change_ex": "dwd-dwd-member-balance-change-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "memberCardTypeName",
|
||||
"ods_col": "membercardtypename",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "paySiteName",
|
||||
"ods_col": "paysitename",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "registerSiteName",
|
||||
"ods_col": "registersitename",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "memberName",
|
||||
"ods_col": "membername",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "memberMobile",
|
||||
"ods_col": "membermobile",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "account_data",
|
||||
"ods_col": "account_data",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "after",
|
||||
"ods_col": "after",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "before",
|
||||
"ods_col": "before",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "card_type_id",
|
||||
"ods_col": "card_type_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": "from_type",
|
||||
"ods_col": "from_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_delete",
|
||||
"ods_col": "is_delete",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operator_id",
|
||||
"ods_col": "operator_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operator_name",
|
||||
"ods_col": "operator_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "payment_method",
|
||||
"ods_col": "payment_method",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "refund_amount",
|
||||
"ods_col": "refund_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"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": "relate_id",
|
||||
"ods_col": "relate_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "remark",
|
||||
"ods_col": "remark",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_id",
|
||||
"ods_col": "site_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"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": "tenant_member_card_id",
|
||||
"ods_col": "tenant_member_card_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenant_member_id",
|
||||
"ods_col": "tenant_member_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "principal_after",
|
||||
"ods_col": "principal_after",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "principal_before",
|
||||
"ods_col": "principal_before",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "principal_data",
|
||||
"ods_col": "principal_data",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "balance_change_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "balance_change_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"register_site_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "register_site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"tenant_member_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "tenant_member_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"system_member_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "system_member_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"tenant_member_card_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "tenant_member_card_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"card_type_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "card_type_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"membercardtypename": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "card_type_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"membername": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "member_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"membermobile": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "member_mobile",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"before": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "balance_before",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"account_data": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "change_amount",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "balance_after",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"from_type": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "from_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"payment_method": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "payment_method",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "change_time",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"is_delete": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "is_delete",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"remark": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "remark",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"principal_before": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "principal_before",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"principal_after": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change",
|
||||
"dwd_col": "principal_after",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"paysitename": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "pay_site_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"registersitename": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "register_site_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"refund_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "refund_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"operator_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "operator_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"operator_name": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "operator_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"principal_data": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "principal_data",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"relate_id": [
|
||||
{
|
||||
"dwd_table": "dwd_member_balance_change_ex",
|
||||
"dwd_col": "relate_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_member_balance_change": [
|
||||
{
|
||||
"dwd_col": "balance_change_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "register_site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "register_site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_member_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_member_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "system_member_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "system_member_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_member_card_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_member_card_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "card_type_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "card_type_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "card_type_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "membercardtypename",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "member_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "membername",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "member_mobile",
|
||||
"type": "character varying",
|
||||
"ods_source": "membermobile",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "balance_before",
|
||||
"type": "numeric",
|
||||
"ods_source": "before",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "change_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "account_data",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "balance_after",
|
||||
"type": "numeric",
|
||||
"ods_source": "after",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "from_type",
|
||||
"type": "integer",
|
||||
"ods_source": "from_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "payment_method",
|
||||
"type": "integer",
|
||||
"ods_source": "payment_method",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "change_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "create_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_delete",
|
||||
"type": "integer",
|
||||
"ods_source": "is_delete",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "remark",
|
||||
"type": "character varying",
|
||||
"ods_source": "remark",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "principal_before",
|
||||
"type": "numeric",
|
||||
"ods_source": "principal_before",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "principal_after",
|
||||
"type": "numeric",
|
||||
"ods_source": "principal_after",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "principal_change_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "COALESCE(CAST(principal_after AS numeric),0) - COALESCE(CAST(principal_before AS numeric),0)",
|
||||
"mapping_type": "→ numeric",
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"dwd_member_balance_change_ex": [
|
||||
{
|
||||
"dwd_col": "balance_change_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_site_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "paysitename",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "register_site_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "registersitename",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "refund_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "refund_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "operator_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "operator_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "principal_data",
|
||||
"type": "text",
|
||||
"ods_source": "principal_data",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "relate_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "relate_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,537 @@
|
||||
{
|
||||
"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 元数据"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,448 @@
|
||||
{
|
||||
"ods_table": "payment_transactions",
|
||||
"anchors": {
|
||||
"api": "api-payment-transactions",
|
||||
"ods": "ods-payment-transactions",
|
||||
"dwd": {
|
||||
"dwd_payment": "dwd-dwd-payment"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "siteProfile.id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.org_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.avatar",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.business_tel",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.full_address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.longitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.latitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_site_region_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.auto_light",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_distance",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_password",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_qrcode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_wechat",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.fixed_pay_qrCode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.prod_env",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_token",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_label",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_enabled",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"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": "pay_amount",
|
||||
"ods_col": "pay_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pay_status",
|
||||
"ods_col": "pay_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pay_time",
|
||||
"ods_col": "pay_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "online_pay_channel",
|
||||
"ods_col": "online_pay_channel",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "relate_type",
|
||||
"ods_col": "relate_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "relate_id",
|
||||
"ods_col": "relate_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_id",
|
||||
"ods_col": "site_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "payment_method",
|
||||
"ods_col": "payment_method",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "payment_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"site_id": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"relate_type": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "relate_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"relate_id": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "relate_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "pay_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_status": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "pay_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"payment_method": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "payment_method",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"online_pay_channel": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "online_pay_channel",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "create_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_time": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "pay_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "pay_date",
|
||||
"cast": "date",
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dwd_payment",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_payment": [
|
||||
{
|
||||
"dwd_col": "payment_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "relate_type",
|
||||
"type": "integer",
|
||||
"ods_source": "relate_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "relate_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "relate_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "pay_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_status",
|
||||
"type": "integer",
|
||||
"ods_source": "pay_status",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "payment_method",
|
||||
"type": "integer",
|
||||
"ods_source": "payment_method",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "online_pay_channel",
|
||||
"type": "integer",
|
||||
"ods_source": "online_pay_channel",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "create_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "create_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "pay_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_date",
|
||||
"type": "date",
|
||||
"ods_source": "pay_time",
|
||||
"mapping_type": "→ date",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,766 @@
|
||||
{
|
||||
"ods_table": "platform_coupon_redemption_records",
|
||||
"anchors": {
|
||||
"api": "api-platform-coupon-redemption-records",
|
||||
"ods": "ods-platform-coupon-redemption-records",
|
||||
"dwd": {
|
||||
"dwd_platform_coupon_redemption": "dwd-dwd-platform-coupon-redemption",
|
||||
"dwd_platform_coupon_redemption_ex": "dwd-dwd-platform-coupon-redemption-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "siteProfile.id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.org_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.avatar",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.business_tel",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.full_address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.longitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.latitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_site_region_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.auto_light",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_distance",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_password",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_qrcode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_wechat",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.fixed_pay_qrCode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.prod_env",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_token",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_label",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_enabled",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "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": "site_id",
|
||||
"ods_col": "site_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "sale_price",
|
||||
"ods_col": "sale_price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_code",
|
||||
"ods_col": "coupon_code",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_channel",
|
||||
"ods_col": "coupon_channel",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_order_id",
|
||||
"ods_col": "site_order_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_free_time",
|
||||
"ods_col": "coupon_free_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "use_status",
|
||||
"ods_col": "use_status",
|
||||
"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": "is_delete",
|
||||
"ods_col": "is_delete",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_name",
|
||||
"ods_col": "coupon_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_cover",
|
||||
"ods_col": "coupon_cover",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_remark",
|
||||
"ods_col": "coupon_remark",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "channel_deal_id",
|
||||
"ods_col": "channel_deal_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "group_package_id",
|
||||
"ods_col": "group_package_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "consume_time",
|
||||
"ods_col": "consume_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "groupon_type",
|
||||
"ods_col": "groupon_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "coupon_money",
|
||||
"ods_col": "coupon_money",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operator_id",
|
||||
"ods_col": "operator_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operator_name",
|
||||
"ods_col": "operator_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_id",
|
||||
"ods_col": "table_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "certificate_id",
|
||||
"ods_col": "certificate_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "verify_id",
|
||||
"ods_col": "verify_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "deal_id",
|
||||
"ods_col": "deal_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "platform_coupon_redemption_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption_ex",
|
||||
"dwd_col": "platform_coupon_redemption_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"coupon_code": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "coupon_code",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"coupon_channel": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "coupon_channel",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"coupon_name": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "coupon_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"sale_price": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "sale_price",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"coupon_money": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "coupon_money",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"coupon_free_time": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "coupon_free_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"channel_deal_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "channel_deal_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"deal_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "deal_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"group_package_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "group_package_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_order_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "site_order_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"table_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "table_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"certificate_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "certificate_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"verify_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "verify_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"use_status": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "use_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_delete": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "is_delete",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "create_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"consume_time": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption",
|
||||
"dwd_col": "consume_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"coupon_cover": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption_ex",
|
||||
"dwd_col": "coupon_cover",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"coupon_remark": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption_ex",
|
||||
"dwd_col": "coupon_remark",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"groupon_type": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption_ex",
|
||||
"dwd_col": "groupon_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"operator_id": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption_ex",
|
||||
"dwd_col": "operator_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"operator_name": [
|
||||
{
|
||||
"dwd_table": "dwd_platform_coupon_redemption_ex",
|
||||
"dwd_col": "operator_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_platform_coupon_redemption": [
|
||||
{
|
||||
"dwd_col": "platform_coupon_redemption_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_code",
|
||||
"type": "character varying",
|
||||
"ods_source": "coupon_code",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_channel",
|
||||
"type": "integer",
|
||||
"ods_source": "coupon_channel",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "coupon_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "sale_price",
|
||||
"type": "numeric",
|
||||
"ods_source": "sale_price",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_money",
|
||||
"type": "numeric",
|
||||
"ods_source": "coupon_money",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_free_time",
|
||||
"type": "integer",
|
||||
"ods_source": "coupon_free_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "channel_deal_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "channel_deal_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "deal_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "deal_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "group_package_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "group_package_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_order_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_order_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "table_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "certificate_id",
|
||||
"type": "character varying",
|
||||
"ods_source": "certificate_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "verify_id",
|
||||
"type": "character varying",
|
||||
"ods_source": "verify_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "use_status",
|
||||
"type": "integer",
|
||||
"ods_source": "use_status",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_delete",
|
||||
"type": "integer",
|
||||
"ods_source": "is_delete",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "create_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "create_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "consume_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "consume_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"dwd_platform_coupon_redemption_ex": [
|
||||
{
|
||||
"dwd_col": "platform_coupon_redemption_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_cover",
|
||||
"type": "character varying",
|
||||
"ods_source": "coupon_cover",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "coupon_remark",
|
||||
"type": "character varying",
|
||||
"ods_source": "coupon_remark",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "groupon_type",
|
||||
"type": "integer",
|
||||
"ods_source": "groupon_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "operator_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "operator_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,898 @@
|
||||
{
|
||||
"ods_table": "refund_transactions",
|
||||
"anchors": {
|
||||
"api": "api-refund-transactions",
|
||||
"ods": "ods-refund-transactions",
|
||||
"dwd": {
|
||||
"dwd_refund": "dwd-dwd-refund",
|
||||
"dwd_refund_ex": "dwd-dwd-refund-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "tenantName",
|
||||
"ods_col": "tenantname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.org_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.avatar",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.business_tel",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.full_address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.longitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.latitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_site_region_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.auto_light",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_distance",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_password",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_qrcode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_wechat",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.fixed_pay_qrCode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.prod_env",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_token",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_label",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_enabled",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_id",
|
||||
"ods_col": "site_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": "pay_sn",
|
||||
"ods_col": "pay_sn",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pay_amount",
|
||||
"ods_col": "pay_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pay_status",
|
||||
"ods_col": "pay_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pay_time",
|
||||
"ods_col": "pay_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "create_time",
|
||||
"ods_col": "create_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "relate_type",
|
||||
"ods_col": "relate_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "relate_id",
|
||||
"ods_col": "relate_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_revoke",
|
||||
"ods_col": "is_revoke",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_delete",
|
||||
"ods_col": "is_delete",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "online_pay_channel",
|
||||
"ods_col": "online_pay_channel",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "payment_method",
|
||||
"ods_col": "payment_method",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "balance_frozen_amount",
|
||||
"ods_col": "balance_frozen_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "card_frozen_amount",
|
||||
"ods_col": "card_frozen_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "member_id",
|
||||
"ods_col": "member_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "member_card_id",
|
||||
"ods_col": "member_card_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "round_amount",
|
||||
"ods_col": "round_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "online_pay_type",
|
||||
"ods_col": "online_pay_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "action_type",
|
||||
"ods_col": "action_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "refund_amount",
|
||||
"ods_col": "refund_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "cashier_point_id",
|
||||
"ods_col": "cashier_point_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operator_id",
|
||||
"ods_col": "operator_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pay_terminal",
|
||||
"ods_col": "pay_terminal",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pay_config_id",
|
||||
"ods_col": "pay_config_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "channel_payer_id",
|
||||
"ods_col": "channel_payer_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "channel_pay_no",
|
||||
"ods_col": "channel_pay_no",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "check_status",
|
||||
"ods_col": "check_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "channel_fee",
|
||||
"ods_col": "channel_fee",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "refund_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "refund_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"relate_type": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "relate_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"relate_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "relate_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "pay_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"channel_fee": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "channel_fee",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_time": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "pay_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "create_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"payment_method": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "payment_method",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"member_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "member_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"member_card_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund",
|
||||
"dwd_col": "member_card_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"tenantname": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "tenant_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"pay_sn": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "pay_sn",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"refund_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "refund_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"round_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "round_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"balance_frozen_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "balance_frozen_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"card_frozen_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "card_frozen_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_status": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "pay_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"action_type": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "action_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_revoke": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "is_revoke",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_delete": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "is_delete",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"check_status": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "check_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"online_pay_channel": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "online_pay_channel",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"online_pay_type": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "online_pay_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_terminal": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "pay_terminal",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"pay_config_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "pay_config_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"cashier_point_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "cashier_point_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"operator_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "operator_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"channel_payer_id": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "channel_payer_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"channel_pay_no": [
|
||||
{
|
||||
"dwd_table": "dwd_refund_ex",
|
||||
"dwd_col": "channel_pay_no",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_refund": [
|
||||
{
|
||||
"dwd_col": "refund_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "relate_type",
|
||||
"type": "integer",
|
||||
"ods_source": "relate_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "relate_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "relate_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "pay_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "channel_fee",
|
||||
"type": "numeric",
|
||||
"ods_source": "channel_fee",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "pay_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "create_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "create_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "payment_method",
|
||||
"type": "integer",
|
||||
"ods_source": "payment_method",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "member_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "member_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "member_card_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "member_card_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"dwd_refund_ex": [
|
||||
{
|
||||
"dwd_col": "refund_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "tenantname",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_sn",
|
||||
"type": "bigint",
|
||||
"ods_source": "pay_sn",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "refund_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "refund_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "round_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "round_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "balance_frozen_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "balance_frozen_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "card_frozen_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "card_frozen_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_status",
|
||||
"type": "integer",
|
||||
"ods_source": "pay_status",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "action_type",
|
||||
"type": "integer",
|
||||
"ods_source": "action_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_revoke",
|
||||
"type": "integer",
|
||||
"ods_source": "is_revoke",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_delete",
|
||||
"type": "integer",
|
||||
"ods_source": "is_delete",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "check_status",
|
||||
"type": "integer",
|
||||
"ods_source": "check_status",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "online_pay_channel",
|
||||
"type": "integer",
|
||||
"ods_source": "online_pay_channel",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "online_pay_type",
|
||||
"type": "integer",
|
||||
"ods_source": "online_pay_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_terminal",
|
||||
"type": "integer",
|
||||
"ods_source": "pay_terminal",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "pay_config_id",
|
||||
"type": "integer",
|
||||
"ods_source": "pay_config_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "cashier_point_id",
|
||||
"type": "integer",
|
||||
"ods_source": "cashier_point_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "operator_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "channel_payer_id",
|
||||
"type": "character varying",
|
||||
"ods_source": "channel_payer_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "channel_pay_no",
|
||||
"type": "character varying",
|
||||
"ods_source": "channel_pay_no",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,667 @@
|
||||
{
|
||||
"ods_table": "site_tables_master",
|
||||
"anchors": {
|
||||
"api": "api-site-tables-master",
|
||||
"ods": "ods-site-tables-master",
|
||||
"dwd": {
|
||||
"dim_table": "dwd-dim-table",
|
||||
"dim_table_ex": "dwd-dim-table-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "order_id",
|
||||
"ods_col": "order_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "audit_status",
|
||||
"ods_col": "audit_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "charge_free",
|
||||
"ods_col": "charge_free",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "self_table",
|
||||
"ods_col": "self_table",
|
||||
"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": "is_rest_area",
|
||||
"ods_col": "is_rest_area",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "light_status",
|
||||
"ods_col": "light_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "show_status",
|
||||
"ods_col": "show_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_id",
|
||||
"ods_col": "site_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_table_area_id",
|
||||
"ods_col": "site_table_area_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_cloth_use_time",
|
||||
"ods_col": "table_cloth_use_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_cloth_use_Cycle",
|
||||
"ods_col": "table_cloth_use_cycle",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "virtual_table",
|
||||
"ods_col": "virtual_table",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_name",
|
||||
"ods_col": "table_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_price",
|
||||
"ods_col": "table_price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "table_status",
|
||||
"ods_col": "table_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "areaName",
|
||||
"ods_col": "areaname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteName",
|
||||
"ods_col": "sitename",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableStatusName",
|
||||
"ods_col": "tablestatusname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "appletQrCodeUrl",
|
||||
"ods_col": "appletqrcodeurl",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "only_allow_groupon",
|
||||
"ods_col": "only_allow_groupon",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "delay_lights_time",
|
||||
"ods_col": "delay_lights_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "order_delay_time",
|
||||
"ods_col": "order_delay_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "temporary_light_second",
|
||||
"ods_col": "temporary_light_second",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_online_reservation",
|
||||
"ods_col": "is_online_reservation",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "table_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "table_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"site_id": [
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"table_name": [
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "table_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_table_area_id": [
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "site_table_area_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "tenant_table_area_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"areaname": [
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "site_table_area_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"table_price": [
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "table_price",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"order_id": [
|
||||
{
|
||||
"dwd_table": "dim_table",
|
||||
"dwd_col": "order_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"show_status": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "show_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_online_reservation": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "is_online_reservation",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"table_cloth_use_time": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "table_cloth_use_time",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"table_cloth_use_cycle": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "table_cloth_use_cycle",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"table_status": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "table_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "create_time",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"light_status": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "light_status",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"tablestatusname": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "tablestatusname",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"sitename": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "sitename",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"audit_status": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "audit_status",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"charge_free": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "charge_free",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"delay_lights_time": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "delay_lights_time",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"is_rest_area": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "is_rest_area",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"only_allow_groupon": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "only_allow_groupon",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"order_delay_time": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "order_delay_time",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"self_table": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "self_table",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"temporary_light_second": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "temporary_light_second",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"virtual_table": [
|
||||
{
|
||||
"dwd_table": "dim_table_ex",
|
||||
"dwd_col": "virtual_table",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dim_table": [
|
||||
{
|
||||
"dwd_col": "table_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_name",
|
||||
"type": "text",
|
||||
"ods_source": "table_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_table_area_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_table_area_name",
|
||||
"type": "text",
|
||||
"ods_source": "areaname",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_table_area_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_price",
|
||||
"type": "numeric",
|
||||
"ods_source": "table_price",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "order_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "order_id",
|
||||
"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_table_ex": [
|
||||
{
|
||||
"dwd_col": "table_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "show_status",
|
||||
"type": "integer",
|
||||
"ods_source": "show_status",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_online_reservation",
|
||||
"type": "integer",
|
||||
"ods_source": "is_online_reservation",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_cloth_use_time",
|
||||
"type": "integer",
|
||||
"ods_source": "table_cloth_use_time",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_cloth_use_cycle",
|
||||
"type": "integer",
|
||||
"ods_source": "table_cloth_use_cycle",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_status",
|
||||
"type": "integer",
|
||||
"ods_source": "table_status",
|
||||
"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 元数据"
|
||||
},
|
||||
{
|
||||
"dwd_col": "create_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "create_time",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "light_status",
|
||||
"type": "integer",
|
||||
"ods_source": "light_status",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "tablestatusname",
|
||||
"type": "text",
|
||||
"ods_source": "tablestatusname",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "sitename",
|
||||
"type": "text",
|
||||
"ods_source": "sitename",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "applet_qr_code_url",
|
||||
"type": "text",
|
||||
"ods_source": "—",
|
||||
"mapping_type": "—",
|
||||
"note": "未显式映射"
|
||||
},
|
||||
{
|
||||
"dwd_col": "audit_status",
|
||||
"type": "integer",
|
||||
"ods_source": "audit_status",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "charge_free",
|
||||
"type": "integer",
|
||||
"ods_source": "charge_free",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "delay_lights_time",
|
||||
"type": "integer",
|
||||
"ods_source": "delay_lights_time",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_rest_area",
|
||||
"type": "integer",
|
||||
"ods_source": "is_rest_area",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "only_allow_groupon",
|
||||
"type": "integer",
|
||||
"ods_source": "only_allow_groupon",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "order_delay_time",
|
||||
"type": "integer",
|
||||
"ods_source": "order_delay_time",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "self_table",
|
||||
"type": "integer",
|
||||
"ods_source": "self_table",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "temporary_light_second",
|
||||
"type": "integer",
|
||||
"ods_source": "temporary_light_second",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "virtual_table",
|
||||
"type": "integer",
|
||||
"ods_source": "virtual_table",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,350 @@
|
||||
{
|
||||
"ods_table": "stock_goods_category_tree",
|
||||
"anchors": {
|
||||
"api": "api-stock-goods-category-tree",
|
||||
"ods": "ods-stock-goods-category-tree",
|
||||
"dwd": {
|
||||
"dim_goods_category": "dwd-dim-goods-category"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "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": "category_name",
|
||||
"ods_col": "category_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "alias_name",
|
||||
"ods_col": "alias_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pid",
|
||||
"ods_col": "pid",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "business_name",
|
||||
"ods_col": "business_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tenant_goods_business_id",
|
||||
"ods_col": "tenant_goods_business_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "open_salesman",
|
||||
"ods_col": "open_salesman",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].category_name",
|
||||
"ods_col": "category_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].alias_name",
|
||||
"ods_col": "alias_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].pid",
|
||||
"ods_col": "pid",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].business_name",
|
||||
"ods_col": "business_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].tenant_goods_business_id",
|
||||
"ods_col": "tenant_goods_business_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].open_salesman",
|
||||
"ods_col": "open_salesman",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].sort",
|
||||
"ods_col": "sort",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "categoryBoxes[].is_warehousing",
|
||||
"ods_col": "is_warehousing",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "sort",
|
||||
"ods_col": "sort",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_warehousing",
|
||||
"ods_col": "is_warehousing",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "category_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"category_name": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "category_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"alias_name": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "alias_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"pid": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "parent_category_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"business_name": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "business_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"tenant_goods_business_id": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "tenant_goods_business_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"open_salesman": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "open_salesman",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"sort": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "sort_order",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"is_warehousing": [
|
||||
{
|
||||
"dwd_table": "dim_goods_category",
|
||||
"dwd_col": "is_warehousing",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dim_goods_category": [
|
||||
{
|
||||
"dwd_col": "category_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "category_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "category_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "alias_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "alias_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "parent_category_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "pid",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "business_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "business_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_goods_business_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_goods_business_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "category_level",
|
||||
"type": "integer",
|
||||
"ods_source": "CASE WHEN pid = 0 THEN 1 ELSE 2 END",
|
||||
"mapping_type": "直接",
|
||||
"note": "派生计算"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_leaf",
|
||||
"type": "integer",
|
||||
"ods_source": "CASE WHEN categoryboxes IS NULL OR jsonb_array_length(categoryboxes)=0 THEN 1 ELSE 0 END",
|
||||
"mapping_type": "直接",
|
||||
"note": "派生计算"
|
||||
},
|
||||
{
|
||||
"dwd_col": "open_salesman",
|
||||
"type": "integer",
|
||||
"ods_source": "open_salesman",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "sort_order",
|
||||
"type": "integer",
|
||||
"ods_source": "sort",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_warehousing",
|
||||
"type": "integer",
|
||||
"ods_source": "is_warehousing",
|
||||
"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 元数据"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,829 @@
|
||||
{
|
||||
"ods_table": "table_fee_discount_records",
|
||||
"anchors": {
|
||||
"api": "api-table-fee-discount-records",
|
||||
"ods": "ods-table-fee-discount-records",
|
||||
"dwd": {
|
||||
"dwd_table_fee_adjust": "dwd-dwd-table-fee-adjust",
|
||||
"dwd_table_fee_adjust_ex": "dwd-dwd-table-fee-adjust-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "tableProfile.id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.tenant_name",
|
||||
"ods_col": "tenant_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.siteName",
|
||||
"ods_col": "sitename",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.table_name",
|
||||
"ods_col": "table_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.site_table_area_id",
|
||||
"ods_col": "site_table_area_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.area_type_id",
|
||||
"ods_col": "area_type_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.table_price",
|
||||
"ods_col": "table_price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.ewelink_client_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.site_table_area_name",
|
||||
"ods_col": "site_table_area_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "tableProfile.charge_free",
|
||||
"ods_col": "charge_free",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.org_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.avatar",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.business_tel",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.full_address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.address",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.longitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.latitude",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_site_region_id",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.tenant_id",
|
||||
"ods_col": "tenant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.auto_light",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_distance",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_name",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.wifi_password",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_qrcode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.customer_service_wechat",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.fixed_pay_qrCode",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.prod_env",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_type",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.light_token",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.site_label",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.attendance_enabled",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "siteProfile.shop_status",
|
||||
"ods_col": null,
|
||||
"match_type": "unmapped",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "adjust_type",
|
||||
"ods_col": "adjust_type",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "applicant_id",
|
||||
"ods_col": "applicant_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "applicant_name",
|
||||
"ods_col": "applicant_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "create_time",
|
||||
"ods_col": "create_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_delete",
|
||||
"ods_col": "is_delete",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "ledger_amount",
|
||||
"ods_col": "ledger_amount",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "ledger_count",
|
||||
"ods_col": "ledger_count",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "ledger_name",
|
||||
"ods_col": "ledger_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "ledger_status",
|
||||
"ods_col": "ledger_status",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operator_id",
|
||||
"ods_col": "operator_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "operator_name",
|
||||
"ods_col": "operator_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "order_settle_id",
|
||||
"ods_col": "order_settle_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "order_trade_no",
|
||||
"ods_col": "order_trade_no",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_id",
|
||||
"ods_col": "site_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "site_table_id",
|
||||
"ods_col": "site_table_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": "tenant_table_area_id",
|
||||
"ods_col": "tenant_table_area_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "table_fee_adjust_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "table_fee_adjust_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"order_trade_no": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "order_trade_no",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"order_settle_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "order_settle_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "site_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"site_table_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "table_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_table_area_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "table_area_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "tenant_table_area_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"ledger_amount": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "ledger_amount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"ledger_status": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "ledger_status",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_delete": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "is_delete",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "adjust_time",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"table_name": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "table_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"table_price": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "table_price",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"charge_free": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust",
|
||||
"dwd_col": "charge_free",
|
||||
"cast": "boolean",
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"adjust_type": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "adjust_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"ledger_count": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "ledger_count",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"ledger_name": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "ledger_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"applicant_name": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "applicant_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"operator_name": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "operator_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"applicant_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "applicant_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"operator_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "operator_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"area_type_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "area_type_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"site_table_area_id": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "site_table_area_id",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"site_table_area_name": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "site_table_area_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"sitename": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "site_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_name": [
|
||||
{
|
||||
"dwd_table": "dwd_table_fee_adjust_ex",
|
||||
"dwd_col": "tenant_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dwd_table_fee_adjust": [
|
||||
{
|
||||
"dwd_col": "table_fee_adjust_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "order_trade_no",
|
||||
"type": "bigint",
|
||||
"ods_source": "order_trade_no",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "order_settle_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "order_settle_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_table_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_table_area_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_area_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "tableprofile->>'table_area_name'",
|
||||
"mapping_type": "直接",
|
||||
"note": "JSONB 提取"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_table_area_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "ledger_amount",
|
||||
"type": "numeric",
|
||||
"ods_source": "ledger_amount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "ledger_status",
|
||||
"type": "integer",
|
||||
"ods_source": "ledger_status",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_delete",
|
||||
"type": "integer",
|
||||
"ods_source": "is_delete",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "adjust_time",
|
||||
"type": "timestamp with time zone",
|
||||
"ods_source": "create_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_name",
|
||||
"type": "text",
|
||||
"ods_source": "table_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "table_price",
|
||||
"type": "numeric",
|
||||
"ods_source": "table_price",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "charge_free",
|
||||
"type": "boolean",
|
||||
"ods_source": "charge_free",
|
||||
"mapping_type": "→ boolean",
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"dwd_table_fee_adjust_ex": [
|
||||
{
|
||||
"dwd_col": "table_fee_adjust_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "adjust_type",
|
||||
"type": "integer",
|
||||
"ods_source": "adjust_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "ledger_count",
|
||||
"type": "integer",
|
||||
"ods_source": "ledger_count",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "ledger_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "ledger_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "applicant_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "applicant_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "operator_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "applicant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "applicant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "operator_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "operator_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "area_type_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "area_type_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_table_area_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "site_table_area_id",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_table_area_name",
|
||||
"type": "text",
|
||||
"ods_source": "site_table_area_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "site_name",
|
||||
"type": "text",
|
||||
"ods_source": "sitename",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_name",
|
||||
"type": "text",
|
||||
"ods_source": "tenant_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,792 @@
|
||||
{
|
||||
"ods_table": "tenant_goods_master",
|
||||
"anchors": {
|
||||
"api": "api-tenant-goods-master",
|
||||
"ods": "ods-tenant-goods-master",
|
||||
"dwd": {
|
||||
"dim_tenant_goods": "dwd-dim-tenant-goods",
|
||||
"dim_tenant_goods_ex": "dwd-dim-tenant-goods-ex"
|
||||
}
|
||||
},
|
||||
"json_to_ods": [
|
||||
{
|
||||
"json_path": "categoryName",
|
||||
"ods_col": "categoryname",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "isInSite",
|
||||
"ods_col": "isinsite",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "boolean",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "commodityCode[]",
|
||||
"ods_col": "commoditycode",
|
||||
"match_type": "case_insensitive",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "id",
|
||||
"ods_col": "id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "able_discount",
|
||||
"ods_col": "able_discount",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "able_site_transfer",
|
||||
"ods_col": "able_site_transfer",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "commodity_code",
|
||||
"ods_col": "commodity_code",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "common_sale_royalty",
|
||||
"ods_col": "common_sale_royalty",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "cost_price",
|
||||
"ods_col": "cost_price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "cost_price_type",
|
||||
"ods_col": "cost_price_type",
|
||||
"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": "goods_bar_code",
|
||||
"ods_col": "goods_bar_code",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goods_category_id",
|
||||
"ods_col": "goods_category_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goods_cover",
|
||||
"ods_col": "goods_cover",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goods_name",
|
||||
"ods_col": "goods_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goods_number",
|
||||
"ods_col": "goods_number",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goods_second_category_id",
|
||||
"ods_col": "goods_second_category_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "goods_state",
|
||||
"ods_col": "goods_state",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_delete",
|
||||
"ods_col": "is_delete",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "is_warehousing",
|
||||
"ods_col": "is_warehousing",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "market_price",
|
||||
"ods_col": "market_price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "min_discount_price",
|
||||
"ods_col": "min_discount_price",
|
||||
"match_type": "exact",
|
||||
"json_type": "number",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "not_sale",
|
||||
"ods_col": "not_sale",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "out_goods_id",
|
||||
"ods_col": "out_goods_id",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "pinyin_initial",
|
||||
"ods_col": "pinyin_initial",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "point_sale_royalty",
|
||||
"ods_col": "point_sale_royalty",
|
||||
"match_type": "exact",
|
||||
"json_type": "integer",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "remark_name",
|
||||
"ods_col": "remark_name",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "sale_channel",
|
||||
"ods_col": "sale_channel",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "supplier_id",
|
||||
"ods_col": "supplier_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": "unit",
|
||||
"ods_col": "unit",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 100.0
|
||||
},
|
||||
{
|
||||
"json_path": "update_time",
|
||||
"ods_col": "update_time",
|
||||
"match_type": "exact",
|
||||
"json_type": "string",
|
||||
"occurrence_pct": 83.3
|
||||
}
|
||||
],
|
||||
"ods_to_dwd": {
|
||||
"id": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "tenant_goods_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "tenant_goods_id",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"tenant_id": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "tenant_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"supplier_id": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "supplier_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"categoryname": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "category_name",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"goods_category_id": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "goods_category_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"goods_second_category_id": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "goods_second_category_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"goods_name": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "goods_name",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"goods_number": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "goods_number",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"unit": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "unit",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"market_price": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "market_price",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"goods_state": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "goods_state",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"create_time": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "create_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"update_time": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "update_time",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_delete": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "is_delete",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"not_sale": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods",
|
||||
"dwd_col": "not_sale",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"remark_name": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "remark_name",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"pinyin_initial": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "pinyin_initial",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"goods_cover": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "goods_cover",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"goods_bar_code": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "goods_bar_code",
|
||||
"cast": null,
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"commodity_code": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "commodity_code",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "commodity_code_list",
|
||||
"cast": null,
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"min_discount_price": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "min_discount_price",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"cost_price": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "cost_price",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"cost_price_type": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "cost_price_type",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"able_discount": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "able_discount",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"sale_channel": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "sale_channel",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"is_warehousing": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "is_warehousing",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"isinsite": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "is_in_site",
|
||||
"cast": "boolean",
|
||||
"note": "字段重命名"
|
||||
}
|
||||
],
|
||||
"able_site_transfer": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "able_site_transfer",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"common_sale_royalty": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "common_sale_royalty",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"point_sale_royalty": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "point_sale_royalty",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
],
|
||||
"out_goods_id": [
|
||||
{
|
||||
"dwd_table": "dim_tenant_goods_ex",
|
||||
"dwd_col": "out_goods_id",
|
||||
"cast": null,
|
||||
"note": "同名直传"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dwd_to_ods": {
|
||||
"dim_tenant_goods": [
|
||||
{
|
||||
"dwd_col": "tenant_goods_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "tenant_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "tenant_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "supplier_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "supplier_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "category_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "categoryname",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_category_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "goods_category_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_second_category_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "goods_second_category_id",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "goods_name",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_number",
|
||||
"type": "character varying",
|
||||
"ods_source": "goods_number",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "unit",
|
||||
"type": "character varying",
|
||||
"ods_source": "unit",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "market_price",
|
||||
"type": "numeric",
|
||||
"ods_source": "market_price",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_state",
|
||||
"type": "integer",
|
||||
"ods_source": "goods_state",
|
||||
"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": "update_time",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_delete",
|
||||
"type": "integer",
|
||||
"ods_source": "is_delete",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "not_sale",
|
||||
"type": "integer",
|
||||
"ods_source": "not_sale",
|
||||
"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_tenant_goods_ex": [
|
||||
{
|
||||
"dwd_col": "tenant_goods_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "id",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "remark_name",
|
||||
"type": "character varying",
|
||||
"ods_source": "remark_name",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "pinyin_initial",
|
||||
"type": "character varying",
|
||||
"ods_source": "pinyin_initial",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_cover",
|
||||
"type": "character varying",
|
||||
"ods_source": "goods_cover",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "goods_bar_code",
|
||||
"type": "character varying",
|
||||
"ods_source": "goods_bar_code",
|
||||
"mapping_type": "直接",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"dwd_col": "commodity_code",
|
||||
"type": "character varying",
|
||||
"ods_source": "commodity_code",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "commodity_code_list",
|
||||
"type": "character varying",
|
||||
"ods_source": "commodity_code",
|
||||
"mapping_type": "直接",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "min_discount_price",
|
||||
"type": "numeric",
|
||||
"ods_source": "min_discount_price",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "cost_price",
|
||||
"type": "numeric",
|
||||
"ods_source": "cost_price",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "cost_price_type",
|
||||
"type": "integer",
|
||||
"ods_source": "cost_price_type",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "able_discount",
|
||||
"type": "integer",
|
||||
"ods_source": "able_discount",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "sale_channel",
|
||||
"type": "integer",
|
||||
"ods_source": "sale_channel",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_warehousing",
|
||||
"type": "integer",
|
||||
"ods_source": "is_warehousing",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "is_in_site",
|
||||
"type": "boolean",
|
||||
"ods_source": "isinsite",
|
||||
"mapping_type": "→ boolean",
|
||||
"note": "字段重命名"
|
||||
},
|
||||
{
|
||||
"dwd_col": "able_site_transfer",
|
||||
"type": "integer",
|
||||
"ods_source": "able_site_transfer",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "common_sale_royalty",
|
||||
"type": "integer",
|
||||
"ods_source": "common_sale_royalty",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "point_sale_royalty",
|
||||
"type": "integer",
|
||||
"ods_source": "point_sale_royalty",
|
||||
"mapping_type": "直接",
|
||||
"note": "同名直传"
|
||||
},
|
||||
{
|
||||
"dwd_col": "out_goods_id",
|
||||
"type": "bigint",
|
||||
"ods_source": "out_goods_id",
|
||||
"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 元数据"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user