72 lines
21 KiB
JSON
72 lines
21 KiB
JSON
{
|
|
"global_hash": "c6eddc9db17d48e75948491bf3bebda6a15e63fee5d23d68a368033aac1578e0",
|
|
"docs_hash": "82da1245e914318fab4bd54be6f3a6854222f6651b24f833efc6edf1c04ca1f2",
|
|
"table_hashes": {
|
|
"ads.ads_purchase_kpi_1d": "ab21d9770e2dc30b5b6d7a308aac4c1b4d162f28d431cbbed9a3c383fefcc72b",
|
|
"ads.ads_sales_kpi_1d": "9c3c97100bf4083f70dbd3fb6ad97aca1787ebdfbd8cbd410764f6c34bc7ae11",
|
|
"ads.ads_sku_top_sale_1d": "85cc2313730b8ace6f82d70ec96cfc213cc6a1fdda56c771fa4133b50bb45d65",
|
|
"ads.ads_stock_alert_1d": "3484c2e4a40fe69820f339552f9b4d56198f1e516bdcd7083802749f8cdb35cc",
|
|
"dwd.dwd_customer_df": "225ceaa4769ec7401e4421dc8521c1f54b76a3834b4be20ce56c8781be688e6e",
|
|
"dwd.dwd_purchase_order_df": "daa31feb8198c328d700ea68a3257d9059fef85a3db38c27d6e3603110bc95ec",
|
|
"dwd.dwd_sales_order_df": "c04bbfc98f8dd75153fa8ec098ce1667e88396e1986cbb20d98701133ab80ab6",
|
|
"dwd.dwd_sku_df": "eb782110952b1e42c4487154b114b447acaa48e2d4db328669e96d50a073f207",
|
|
"dwd.dwd_stock_flow_df": "98d96e7299b5e40d12d8ec709ce2dd6fce3941a98e36772c95c0bd1a4df0530a",
|
|
"dwd.dwd_supplier_df": "03ce281065daeddae8c0f326074430c44494e5965744510b8e5c9083b4aa22ad",
|
|
"dws.dws_purchase_supplier_1d": "508bb943a4bf62953a7743ec37e1bb387bc70e593a9d55f557437409513fbb1c",
|
|
"dws.dws_sales_customer_1d": "8d7a70517559d21c8142ed829de84e4d74f64c4bb0be1a7dda8f77aab88b9660",
|
|
"dws.dws_sku_stock_1d": "b89d861ee9940b93419739a600ce317653dbc65e93b10b9b2790ad456ef46d00",
|
|
"ods.ods_alias_mapping": "cf42dd04235194cfbf40b078ac70214feb38bbe5358e36fe299b71109313c93f",
|
|
"ods.ods_customer": "efab1295969306a7ba68ec1066ac88203f31d4cd7d0cbdf7fa8f49c30d768ac7",
|
|
"ods.ods_po_order": "35059354eb51bf7045ea6d39d83d6083f088bbd1925bff93583f41d8da2e739b",
|
|
"ods.ods_po_order_item": "0c859b27ad0557ba0684176c604b4b10516cb564d6b7541c69c48971a6a7001c",
|
|
"ods.ods_sku": "3c5c75d1212ea86859b3b750a930ba88af9904aa598305e269af55057fcf11f0",
|
|
"ods.ods_so_order": "48667183d46a52e2d2509734edb02f618dfe47370e62c96f8663002e34e7576f",
|
|
"ods.ods_so_order_item": "2f0d4ae0d27efe1c3bb2c21baa9ad95b02ebf2135acfc28ce091cb1db23280f4",
|
|
"ods.ods_stock": "a10571394495fd897faf7a3db6a8624c1a44cfcba51a3dae63213dd7fb71361f",
|
|
"ods.ods_stock_flow": "d51e8c3ced7f526ff0439e24ead13bbadff7bccc7c93b3f20a50fd4af96ab5c3",
|
|
"ods.ods_supplier": "7aa8d594046e05544d531b2ac7f7bcb5ba75db938c3512bc6a22ef397d5d0faf"
|
|
},
|
|
"term_urns": {
|
|
"wh_metric_received_amount": "urn:li:glossaryTerm:erp_metric_purchase_received_amount",
|
|
"wh_metric_shipped_amount": "urn:li:glossaryTerm:erp_metric_sales_shipped_amount",
|
|
"wh_metric_order_cnt": "urn:li:glossaryTerm:wh_metric_order_cnt",
|
|
"wh_metric_low_stock": "urn:li:glossaryTerm:wh_metric_low_stock",
|
|
"wh_status_purchase_order": "urn:li:glossaryTerm:erp_status_purchase_order",
|
|
"wh_status_sales_order": "urn:li:glossaryTerm:erp_status_sales_order",
|
|
"wh_concept_snapshot_partition": "urn:li:glossaryTerm:wh_concept_snapshot_partition",
|
|
"wh_rule_idempotent_overwrite": "urn:li:glossaryTerm:wh_rule_idempotent_overwrite"
|
|
},
|
|
"last_created": {
|
|
"domains": 5,
|
|
"tags": 10,
|
|
"terms": 4
|
|
},
|
|
"last_ok_tables": [
|
|
"ads.ads_purchase_kpi_1d",
|
|
"ads.ads_sales_kpi_1d",
|
|
"ads.ads_sku_top_sale_1d",
|
|
"ads.ads_stock_alert_1d",
|
|
"dwd.dwd_customer_df",
|
|
"dwd.dwd_purchase_order_df",
|
|
"dwd.dwd_sales_order_df",
|
|
"dwd.dwd_sku_df",
|
|
"dwd.dwd_stock_flow_df",
|
|
"dwd.dwd_supplier_df",
|
|
"dws.dws_purchase_supplier_1d",
|
|
"dws.dws_sales_customer_1d",
|
|
"dws.dws_sku_stock_1d",
|
|
"ods.ods_alias_mapping",
|
|
"ods.ods_customer",
|
|
"ods.ods_po_order",
|
|
"ods.ods_po_order_item",
|
|
"ods.ods_sku",
|
|
"ods.ods_so_order",
|
|
"ods.ods_so_order_item",
|
|
"ods.ods_stock",
|
|
"ods.ods_stock_flow",
|
|
"ods.ods_supplier"
|
|
],
|
|
"spec_json": "{\"domains\": [{\"key\": \"master\", \"name\": \"\u6570\u4ed3\u4e3b\u6570\u636e\u57df\", \"description\": \"\u4f9b\u5e94\u5546\u3001\u5ba2\u6237\u3001SKU \u4e0e\u522b\u540d\u6620\u5c04\u7b49\u4e3b\u6570\u636e\u6cbb\u7406\u57df\u3002\"}, {\"key\": \"purchase\", \"name\": \"\u6570\u4ed3\u91c7\u8d2d\u57df\", \"description\": \"\u91c7\u8d2d\u5355\u3001\u91c7\u8d2d\u660e\u7ec6\u53ca\u4f9b\u5e94\u5546\u91c7\u8d2d\u6c47\u603b\u7b49\u91c7\u8d2d\u4e1a\u52a1\u6cbb\u7406\u57df\u3002\"}, {\"key\": \"sales\", \"name\": \"\u6570\u4ed3\u9500\u552e\u57df\", \"description\": \"\u9500\u552e\u5355\u3001\u9500\u552e\u660e\u7ec6\u53ca\u5ba2\u6237\u9500\u552e\u6c47\u603b\u7b49\u9500\u552e\u4e1a\u52a1\u6cbb\u7406\u57df\u3002\"}, {\"key\": \"inventory\", \"name\": \"\u6570\u4ed3\u5e93\u5b58\u57df\", \"description\": \"\u5e93\u5b58\u4f59\u989d\u3001\u5e93\u5b58\u6d41\u6c34\u3001SKU \u5e93\u5b58\u6c47\u603b\u4e0e\u4f4e\u5e93\u5b58\u9884\u8b66\u7b49\u5e93\u5b58\u4e1a\u52a1\u6cbb\u7406\u57df\u3002\"}, {\"key\": \"kpi\", \"name\": \"\u6570\u4ed3\u6307\u6807\u57df\", \"description\": \"ADS \u5c42\u91c7\u8d2d\u3001\u9500\u552e\u4e0e SKU \u6392\u884c\u7b49\u5e94\u7528\u6307\u6807\u6cbb\u7406\u57df\u3002\"}], \"tags\": [{\"key\": \"wh\", \"name\": \"wh\", \"description\": \"\u6570\u4ed3\u5206\u5c42\u81ea\u52a8\u6807\u6ce8\u901a\u7528\u6807\u7b7e\u3002\"}, {\"key\": \"wh_ods\", \"name\": \"wh_ods\", \"description\": \"ODS \u539f\u59cb\u8d34\u6e90\u5c42\uff0c\u6309\u4e1a\u52a1\u65e5\u671f\u5206\u533a\u5b58\u653e\u62bd\u53d6\u5feb\u7167\uff0c\u8f7b\u6253\u6807\u3002\"}, {\"key\": \"wh_dwd\", \"name\": \"wh_dwd\", \"description\": \"DWD \u660e\u7ec6\u6e05\u6d17\u5c42\uff0c\u91c7\u7528\u5168\u5386\u53f2\u53bb\u91cd\u5feb\u7167\u53e3\u5f84\u3002\"}, {\"key\": \"wh_dws\", \"name\": \"wh_dws\", \"description\": \"DWS \u65e5\u6c47\u603b\u5c42\uff0c\u6309\u4f9b\u5e94\u5546\u3001\u5ba2\u6237\u3001SKU \u7b49\u4e1a\u52a1\u7c92\u5ea6\u805a\u5408\u3002\"}, {\"key\": \"wh_ads\", \"name\": \"wh_ads\", \"description\": \"ADS \u5e94\u7528\u6307\u6807\u5c42\uff0c\u9762\u5411\u95ee\u6570\u3001\u62a5\u8868\u4e0e\u9884\u8b66\u6e05\u5355\u3002\"}, {\"key\": \"wh_pii_phone\", \"name\": \"wh_pii_phone\", \"description\": \"\u7535\u8bdd\u53f7\u7801\u4e2a\u4eba\u4fe1\u606f\uff0c\u5bf9\u5916\u8f93\u51fa\u9700\u6309\u4fdd\u7559\u524d3\u540e4\u89c4\u5219\u63a9\u7801\u3002\"}, {\"key\": \"wh_pii_id_card\", \"name\": \"wh_pii_id_card\", \"description\": \"\u8eab\u4efd\u8bc1\u53f7\u4e2a\u4eba\u4fe1\u606f\uff0c\u9700\u6309\u9690\u79c1\u89c4\u5219\u8131\u654f\u3002\"}, {\"key\": \"wh_pii_bank\", \"name\": \"wh_pii_bank\", \"description\": \"\u94f6\u884c\u8d26\u53f7\u6216\u94f6\u884c\u5361\u4e2a\u4eba\u4fe1\u606f\uff0c\u9700\u6309\u9690\u79c1\u89c4\u5219\u8131\u654f\u3002\"}, {\"key\": \"wh_biz_sensitive\", \"name\": \"wh_biz_sensitive\", \"description\": \"\u8054\u7cfb\u4eba\u3001\u5730\u5740\u7b49\u4f9b\u5e94\u5546/\u5ba2\u6237\u654f\u611f\u4e1a\u52a1\u4fe1\u606f\u6807\u7b7e\u3002\"}, {\"key\": \"wh_demo\", \"name\": \"wh_demo\", \"description\": \"\u6f14\u793a\u73af\u5883\u4e0e\u6f14\u793a\u6570\u636e\u6807\u8bc6\u6807\u7b7e\u3002\"}], \"terms\": [{\"key\": \"wh_metric_received_amount\", \"name\": \"\u91c7\u8d2d\u5165\u5e93\u91d1\u989d\", \"description\": \"\u7d2f\u8ba1\u91c7\u8d2d\u5165\u5e93\u91d1\u989d\u53e3\u5f84\uff1a\u5df2\u5165\u5e93\uff08RECEIVED\uff09\u91c7\u8d2d\u5355\u7684\u603b\u91d1\u989d\u4e4b\u548c\uff1b\u8349\u7a3f/\u5df2\u786e\u8ba4/\u4f5c\u5e9f\u4e0d\u8ba1\u5165\uff0c\u8ba1\u7b97 SUM(po_order.total_amount) WHERE status='RECEIVED'\u3002\"}, {\"key\": \"wh_metric_shipped_amount\", \"name\": \"\u9500\u552e\u51fa\u5e93\u91d1\u989d\", \"description\": \"\u7d2f\u8ba1\u9500\u552e\u51fa\u5e93\u91d1\u989d\u53e3\u5f84\uff1a\u5df2\u51fa\u5e93\uff08SHIPPED\uff09\u9500\u552e\u5355\u603b\u91d1\u989d\u4e4b\u548c\uff1b\u8ba1\u7b97 SUM(so_order.total_amount) WHERE status='SHIPPED'\u3002\"}, {\"key\": \"wh_metric_order_cnt\", \"name\": \"\u5355\u636e\u6570\", \"description\": \"\u5355\u636e\u6570\u53e3\u5f84\uff1a\u4e0b\u5355\u6570\u6309 order_date=dt \u7684\u5355\u636e\u53bb\u91cd\u8ba1\u6570\uff1b\u5165\u5e93/\u51fa\u5e93\u5355\u6570\u5206\u522b\u6309 received_at/shipped_at \u5f53\u65e5\u53bb\u91cd\u8ba1\u6570\u3002\"}, {\"key\": \"wh_metric_low_stock\", \"name\": \"\u4f4e\u5e93\u5b58\u9884\u8b66\", \"description\": \"\u4f4e\u5e93\u5b58\u9884\u8b66\u53e3\u5f84\uff1a\u73b0\u5b58\u91cf < \u8be5 SKU \u5b89\u5168\u5e93\u5b58\uff08\u4e25\u683c\u5c0f\u4e8e\uff09\uff0c\u5373 qty_on_hand < md_sku.safety_stock\u3002\"}, {\"key\": \"wh_status_purchase_order\", \"name\": \"\u91c7\u8d2d\u5355\u72b6\u6001\", \"description\": \"\u91c7\u8d2d\u5355\u72b6\u6001\u679a\u4e3e\uff1aDRAFT \u8349\u7a3f\uff08\u53ef\u7f16\u8f91/\u5220\u9664\uff09\u2192CONFIRMED \u5df2\u786e\u8ba4\uff08\u5f85\u5165\u5e93\uff09\u2192RECEIVED \u5df2\u5165\u5e93\uff08\u7ec8\u6001\uff09\uff1bDRAFT/CONFIRMED \u53ef\u8f6c CANCELLED \u5df2\u4f5c\u5e9f\uff08\u7ec8\u6001\uff09\u3002\"}, {\"key\": \"wh_status_sales_order\", \"name\": \"\u9500\u552e\u5355\u72b6\u6001\", \"description\": \"\u9500\u552e\u5355\u72b6\u6001\u679a\u4e3e\uff1aDRAFT \u8349\u7a3f\uff08\u53ef\u7f16\u8f91/\u5220\u9664\uff09\u2192CONFIRMED \u5df2\u786e\u8ba4\uff08\u5f85\u51fa\u5e93\uff09\u2192SHIPPED \u5df2\u51fa\u5e93\uff08\u7ec8\u6001\uff09\uff1bDRAFT/CONFIRMED \u53ef\u8f6c CANCELLED \u5df2\u4f5c\u5e9f\uff08\u7ec8\u6001\uff09\u3002\"}, {\"key\": \"wh_concept_snapshot_partition\", \"name\": \"\u5168\u5386\u53f2\u5feb\u7167\u5206\u533a\", \"description\": \"\u5168\u5386\u53f2\u5feb\u7167\u5206\u533a\uff1aDWD \u6bcf\u4e2a dt \u5206\u533a = \u622a\u81f3\u5f53\u65e5\u6309 id \u53bb\u91cd\uff08ROW_NUMBER() OVER (PARTITION BY id ORDER BY updated_at DESC, dt DESC)\uff09\u540e\u7684\u5168\u91cf\u6e05\u6d17\u7ed3\u679c\uff1b\u660e\u7ec6\u884c\u65e0\u65f6\u95f4\u6233\uff0c\u6309 dt DESC \u53d6\u6700\u65b0\u5feb\u7167\u3002\"}, {\"key\": \"wh_rule_idempotent_overwrite\", \"name\": \"\u5206\u533a\u5e42\u7b49\u91cd\u5237\", \"description\": \"\u5206\u533a\u5e42\u7b49\u91cd\u5237\uff1aETL \u7edf\u4e00 INSERT OVERWRITE ... PARTITION(dt='${dt}') \u5206\u533a\u7ea7\u8986\u76d6\uff0c\u5efa\u8868 IF NOT EXISTS\uff0c\u8865\u6570\u636e/\u91cd\u8dd1\u540c\u4e00\u5929\u4e0d\u4f1a\u91cd\u590d\u7d2f\u52a0\u3002\"}], \"datasets\": [{\"table\": \"ads.ads_purchase_kpi_1d\", \"description\": \"\u91c7\u8d2d\u65e5 KPI \u5e94\u7528\u8868\uff0c\u7c92\u5ea6 stat_date+dt\uff0c\u542b\u6d3b\u8dc3\u4f9b\u5e94\u5546\u6570\u3001\u5355\u636e\u6570\u3001\u7d2f\u8ba1/\u672c\u6708\u91c7\u8d2d\u5165\u5e93\u91d1\u989d\u4e0e\u5165\u5e93\u5355\u6570\uff1b\u91d1\u989d\u53e3\u5f84\u53d6\u5df2\u5165\u5e93 RECEIVED\u3002\", \"domain_key\": \"kpi\", \"tags\": [\"wh\", \"wh_ads\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}, {\"field\": \"received_amount\", \"term_key\": \"wh_metric_received_amount\"}, {\"field\": \"order_cnt\", \"term_key\": \"wh_metric_order_cnt\"}]}, {\"table\": \"ads.ads_sales_kpi_1d\", \"description\": \"\u9500\u552e\u65e5 KPI \u5e94\u7528\u8868\uff0c\u7c92\u5ea6 stat_date+dt\uff0c\u542b\u6d3b\u8dc3\u5ba2\u6237\u6570\u3001\u5355\u636e\u6570\u3001\u7d2f\u8ba1/\u672c\u6708\u9500\u552e\u51fa\u5e93\u91d1\u989d\u4e0e\u51fa\u5e93\u5355\u6570\uff1b\u91d1\u989d\u53e3\u5f84\u53d6\u5df2\u51fa\u5e93 SHIPPED\u3002\", \"domain_key\": \"kpi\", \"tags\": [\"wh\", \"wh_ads\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}, {\"field\": \"shipped_amount\", \"term_key\": \"wh_metric_shipped_amount\"}, {\"field\": \"order_cnt\", \"term_key\": \"wh_metric_order_cnt\"}]}, {\"table\": \"ads.ads_sku_top_sale_1d\", \"description\": \"\u8fd130\u5929\u51fa\u5e93\u91d1\u989d TOP10 SKU \u699c\u5355\uff0c\u7c92\u5ea6 rank_no+dt\uff1b\u6309 SKU \u6c47\u603b\u8fd130\u5929\u51fa\u5e93\u91d1\u989d\u4e0e\u51fa\u5e93\u6570\u91cf\u540e\u6392\u5e8f\u8f93\u51fa\u3002\", \"domain_key\": \"kpi\", \"tags\": [\"wh\", \"wh_ads\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ads.ads_stock_alert_1d\", \"description\": \"\u4f4e\u5e93\u5b58\u9884\u8b66\u6e05\u5355\uff0c\u7c92\u5ea6 sku_code+dt\uff1b\u7b5b\u9009\u73b0\u5b58\u91cf < \u5b89\u5168\u5e93\u5b58\u7684 SKU\uff0c\u8f93\u51fa\u7f3a\u53e3\u91cf gap_qty=\u5b89\u5168\u5e93\u5b58-\u73b0\u5b58\u91cf\u53ca\u5f53\u65e5\u51fa\u5e93\u91cf\u3002\", \"domain_key\": \"inventory\", \"tags\": [\"wh\", \"wh_ads\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"dwd.dwd_customer_df\", \"description\": \"\u5ba2\u6237\u7ef4\u8868\u6e05\u6d17\u5feb\u7167\uff0c\u6bcf\u4e2a dt \u5206\u533a\u4e3a\u622a\u81f3\u5f53\u65e5\u6309 id \u53bb\u91cd\u540e\u7684\u5168\u91cf\u5ba2\u6237\u6570\u636e\uff1b\u542b contact_phone\u3001contact_person\u3001address \u7b49\u654f\u611f\u5b57\u6bb5\u3002\", \"domain_key\": \"master\", \"tags\": [\"wh\", \"wh_dwd\", \"wh_demo\", \"wh_pii_phone\", \"wh_biz_sensitive\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"dwd.dwd_purchase_order_df\", \"description\": \"\u91c7\u8d2d\u5355\u5934\u00d7\u660e\u7ec6\u884c\u00d7\u4f9b\u5e94\u5546\u00d7SKU \u5bbd\u8868\uff0c\u5168\u5386\u53f2\u53bb\u91cd\u5feb\u7167\uff1b\u6bcf\u4e2a dt \u4e3a\u622a\u81f3\u5f53\u65e5\u6309 id \u53bb\u91cd\u540e\u7684\u5168\u91cf\u6e05\u6d17\u7ed3\u679c\uff0cstatus \u679a\u4e3e DRAFT/CONFIRMED/RECEIVED/CANCELLED\u3002\", \"domain_key\": \"purchase\", \"tags\": [\"wh\", \"wh_dwd\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}, {\"field\": \"status\", \"term_key\": \"wh_status_purchase_order\"}]}, {\"table\": \"dwd.dwd_sales_order_df\", \"description\": \"\u9500\u552e\u5355\u5934\u00d7\u660e\u7ec6\u884c\u00d7\u5ba2\u6237\u00d7SKU \u5bbd\u8868\uff0c\u5168\u5386\u53f2\u53bb\u91cd\u5feb\u7167\uff1b\u6bcf\u4e2a dt \u4e3a\u622a\u81f3\u5f53\u65e5\u6309 id \u53bb\u91cd\u540e\u7684\u5168\u91cf\u6e05\u6d17\u7ed3\u679c\uff0cstatus \u679a\u4e3e DRAFT/CONFIRMED/SHIPPED/CANCELLED\u3002\", \"domain_key\": \"sales\", \"tags\": [\"wh\", \"wh_dwd\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}, {\"field\": \"status\", \"term_key\": \"wh_status_sales_order\"}]}, {\"table\": \"dwd.dwd_sku_df\", \"description\": \"SKU \u7ef4\u8868\u6e05\u6d17\u5feb\u7167\uff0c\u6bcf\u4e2a dt \u5206\u533a\u4e3a\u622a\u81f3\u5f53\u65e5\u6309 id \u53bb\u91cd\u540e\u7684\u5168\u91cf SKU \u6570\u636e\uff0c\u542b\u5206\u7c7b\u3001\u91c7\u8d2d\u4ef7\u3001\u9500\u552e\u4ef7\u3001\u5b89\u5168\u5e93\u5b58\u4e0e\u72b6\u6001\u3002\", \"domain_key\": \"master\", \"tags\": [\"wh\", \"wh_dwd\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"dwd.dwd_stock_flow_df\", \"description\": \"\u5e93\u5b58\u6d41\u6c34\u660e\u7ec6\u00d7SKU \u5bbd\u8868\uff0c\u5168\u5386\u53f2\u53bb\u91cd\u5feb\u7167\uff1b\u6bcf\u4e2a dt \u4e3a\u622a\u81f3\u5f53\u65e5\u6309 id \u53bb\u91cd\u540e\u7684\u5168\u91cf\u6d41\u6c34\uff0cbiz_type \u679a\u4e3e INIT/PO_RECEIVE/SO_SHIP/ADJUST\u3002\", \"domain_key\": \"inventory\", \"tags\": [\"wh\", \"wh_dwd\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"dwd.dwd_supplier_df\", \"description\": \"\u4f9b\u5e94\u5546\u7ef4\u8868\u6e05\u6d17\u5feb\u7167\uff0c\u6bcf\u4e2a dt \u5206\u533a\u4e3a\u622a\u81f3\u5f53\u65e5\u6309 id \u53bb\u91cd\u540e\u7684\u5168\u91cf\u4f9b\u5e94\u5546\u6570\u636e\uff1b\u542b contact_phone\u3001contact_person\u3001address \u7b49\u654f\u611f\u5b57\u6bb5\u3002\", \"domain_key\": \"master\", \"tags\": [\"wh\", \"wh_dwd\", \"wh_demo\", \"wh_pii_phone\", \"wh_biz_sensitive\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"dws.dws_purchase_supplier_1d\", \"description\": \"\u4f9b\u5e94\u5546\u00d7\u65e5\u91c7\u8d2d\u6c47\u603b\uff0c\u7c92\u5ea6 supplier_code+dt\uff1b\u4e0b\u5355\u6570\u6309 order_date=dt \u53bb\u91cd\uff0c\u5165\u5e93\u91d1\u989d/\u6570\u91cf\u6309 status='RECEIVED' \u4e14 TO_DATE(received_at)=dt \u7edf\u8ba1\u3002\", \"domain_key\": \"purchase\", \"tags\": [\"wh\", \"wh_dws\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}, {\"field\": \"received_amount\", \"term_key\": \"wh_metric_received_amount\"}, {\"field\": \"order_cnt\", \"term_key\": \"wh_metric_order_cnt\"}]}, {\"table\": \"dws.dws_sales_customer_1d\", \"description\": \"\u5ba2\u6237\u00d7\u65e5\u9500\u552e\u6c47\u603b\uff0c\u7c92\u5ea6 customer_code+dt\uff1b\u4e0b\u5355\u6570\u6309 order_date=dt \u53bb\u91cd\uff0c\u51fa\u5e93\u91d1\u989d/\u6570\u91cf\u6309 status='SHIPPED' \u4e14 TO_DATE(shipped_at)=dt \u7edf\u8ba1\u3002\", \"domain_key\": \"sales\", \"tags\": [\"wh\", \"wh_dws\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}, {\"field\": \"shipped_amount\", \"term_key\": \"wh_metric_shipped_amount\"}, {\"field\": \"order_cnt\", \"term_key\": \"wh_metric_order_cnt\"}]}, {\"table\": \"dws.dws_sku_stock_1d\", \"description\": \"SKU\u00d7\u65e5\u5e93\u5b58\u6c47\u603b\uff0c\u7c92\u5ea6 sku_code+dt\uff1b\u542b\u73b0\u5b58\u91cf\u3001\u5b89\u5168\u5e93\u5b58\u3001\u4f4e\u5e93\u5b58\u6807\u5fd7\uff08qty_on_hand < safety_stock\uff09\u4e0e\u5f53\u65e5\u51fa\u5165\u5e93\u6570\u91cf\u3002\", \"domain_key\": \"inventory\", \"tags\": [\"wh\", \"wh_dws\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}, {\"field\": \"low_stock\", \"term_key\": \"wh_metric_low_stock\"}]}, {\"table\": \"ods.ods_alias_mapping\", \"description\": \"\u522b\u540d\u6620\u5c04 ODS \u5feb\u7167\uff0c\u767b\u8bb0\u5916\u90e8\u7cfb\u7edf\u4e0e\u4e3b\u6863\u5b9e\u4f53\uff08\u4f9b\u5e94\u5546/\u5ba2\u6237/SKU\uff09\u7684\u540d\u79f0/\u7f16\u7801\u5dee\u5f02\uff0c\u7528\u4e8e\u5b9e\u4f53\u89e3\u6790\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"master\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_customer\", \"description\": \"\u5ba2\u6237\u4e3b\u6570\u636e ODS \u5168\u91cf\u5feb\u7167\uff0c\u542b\u8054\u7cfb\u65b9\u5f0f\u4e0e\u72b6\u6001\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"master\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\", \"wh_pii_phone\", \"wh_biz_sensitive\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_po_order\", \"description\": \"\u91c7\u8d2d\u5355\u5934 ODS \u6309 updated_at \u5f53\u65e5\u589e\u91cf\uff0c\u542b\u4f9b\u5e94\u5546\u3001\u72b6\u6001\u4e0e\u603b\u91d1\u989d\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"purchase\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_po_order_item\", \"description\": \"\u91c7\u8d2d\u5355\u660e\u7ec6\u884c ODS \u6bcf\u65e5\u5168\u91cf\u5feb\u7167\uff0c\u884c\u91d1\u989d=\u6570\u91cf\u00d7\u5355\u4ef7\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"purchase\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_sku\", \"description\": \"SKU \u4e3b\u6570\u636e ODS \u5168\u91cf\u5feb\u7167\uff0c\u542b\u91c7\u8d2d\u4ef7\u3001\u9500\u552e\u4ef7\u4e0e\u5b89\u5168\u5e93\u5b58\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"master\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_so_order\", \"description\": \"\u9500\u552e\u5355\u5934 ODS \u6309 updated_at \u5f53\u65e5\u589e\u91cf\uff0c\u542b\u5ba2\u6237\u3001\u72b6\u6001\u4e0e\u603b\u91d1\u989d\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"sales\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_so_order_item\", \"description\": \"\u9500\u552e\u5355\u660e\u7ec6\u884c ODS \u6bcf\u65e5\u5168\u91cf\u5feb\u7167\uff0c\u884c\u91d1\u989d=\u6570\u91cf\u00d7\u5355\u4ef7\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"sales\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_stock\", \"description\": \"\u5e93\u5b58\u4f59\u989d ODS \u5168\u91cf\u5feb\u7167\uff0c\u542b SKU \u73b0\u5b58\u91cf\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"inventory\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_stock_flow\", \"description\": \"\u5e93\u5b58\u6d41\u6c34 ODS \u6309 created_at \u5f53\u65e5\u589e\u91cf\uff0c\u4e1a\u52a1\u7c7b\u578b INIT/PO_RECEIVE/SO_SHIP/ADJUST\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"inventory\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}, {\"table\": \"ods.ods_supplier\", \"description\": \"\u4f9b\u5e94\u5546\u4e3b\u6570\u636e ODS \u5168\u91cf\u5feb\u7167\uff0c\u542b\u8054\u7cfb\u65b9\u5f0f\u4e0e\u72b6\u6001\uff1b\u8f7b\u6253\u6807\u3002\", \"domain_key\": \"master\", \"tags\": [\"wh\", \"wh_ods\", \"wh_demo\", \"wh_pii_phone\", \"wh_biz_sensitive\"], \"term_fields\": [{\"field\": \"dt\", \"term_key\": \"wh_concept_snapshot_partition\"}]}]}",
|
|
"updated_at": "2026-11-28 18:17:28",
|
|
"runs": 1
|
|
} |