Files
Neo-ZQYY/export/dataflow_analysis/field_mappings/group_buy_packages.json

940 lines
22 KiB
JSON

{
"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 元数据"
}
]
}
}