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

465 lines
11 KiB
JSON

{
"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": "同名直传"
}
]
},
"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 元数据"
}
]
}
}