在准备环境前提交次全部更改。

This commit is contained in:
Neo
2026-02-19 08:35:13 +08:00
parent ded6dfb9d8
commit 4eac07da47
1387 changed files with 6107191 additions and 33002 deletions

View File

@@ -0,0 +1,134 @@
{
"schema": "dwd",
"table": "member_profiles",
"columns": [
{
"name": "member_id",
"data_type": "bigint",
"is_nullable": false,
"column_default": null,
"comment": "【说明】标识类 ID 字段,用于关联/定位相关实体。 【示例】2955204541320325标识类 ID 字段,用于关联/定位相关实体)。 【ODS来源】member_profiles - id。 【JSON字段】member_profiles.json - data.tenantMemberInfos - id。",
"ordinal_position": 1
},
{
"name": "system_member_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】标识类 ID 字段,用于关联/定位相关实体。 【示例】2955204540009605标识类 ID 字段,用于关联/定位相关实体)。 【ODS来源】member_profiles - system_member_id。 【JSON字段】member_profiles.json - data.tenantMemberInfos - system_member_id。",
"ordinal_position": 2
},
{
"name": "tenant_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】标识类 ID 字段,用于关联/定位相关实体。 【示例】2790683160709957标识类 ID 字段,用于关联/定位相关实体)。 【ODS来源】member_profiles - tenant_id。 【JSON字段】member_profiles.json - data.tenantMemberInfos - tenant_id。",
"ordinal_position": 3
},
{
"name": "register_site_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】标识类 ID 字段,用于关联/定位相关实体。 【示例】2790685415443269标识类 ID 字段,用于关联/定位相关实体)。 【ODS来源】member_profiles - register_site_id。 【JSON字段】member_profiles.json - data.tenantMemberInfos - register_site_id。",
"ordinal_position": 4
},
{
"name": "mobile",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】维度字段,用于补充维度属性。 【示例】18620043391维度字段用于补充维度属性。 【ODS来源】member_profiles - mobile。 【JSON字段】member_profiles.json - data.tenantMemberInfos - mobile。",
"ordinal_position": 5
},
{
"name": "nickname",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】名称字段,用于展示与辅助识别。 【示例】胡先生(名称字段,用于展示与辅助识别)。 【ODS来源】member_profiles - nickname。 【JSON字段】member_profiles.json - data.tenantMemberInfos - nickname。",
"ordinal_position": 6
},
{
"name": "member_card_grade_code",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】维度字段,用于补充维度属性。 【示例】2790683528022853维度字段用于补充维度属性。 【ODS来源】member_profiles - member_card_grade_code。 【JSON字段】member_profiles.json - data.tenantMemberInfos - member_card_grade_code。",
"ordinal_position": 7
},
{
"name": "member_card_grade_name",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】名称字段,用于展示与辅助识别。 【示例】储值卡(名称字段,用于展示与辅助识别)。 【ODS来源】member_profiles - member_card_grade_name。 【JSON字段】member_profiles.json - data.tenantMemberInfos - member_card_grade_name。",
"ordinal_position": 8
},
{
"name": "create_time",
"data_type": "timestamp with time zone",
"is_nullable": true,
"column_default": null,
"comment": "【说明】时间/日期字段,用于记录业务时间与统计口径对齐。 【示例】2025-11-08 01:29:33时间/日期字段,用于记录业务时间与统计口径对齐)。 【ODS来源】member_profiles - create_time。 【JSON字段】member_profiles.json - data.tenantMemberInfos - create_time。",
"ordinal_position": 9
},
{
"name": "update_time",
"data_type": "timestamp with time zone",
"is_nullable": true,
"column_default": null,
"comment": "【说明】时间/日期字段,用于记录业务时间与统计口径对齐。 【示例】NULL时间/日期字段,用于记录业务时间与统计口径对齐)。 【ODS来源】member_profiles - update_time。 【JSON字段】member_profiles.json - data.tenantMemberInfos - update_time。",
"ordinal_position": 10
},
{
"name": "pay_money_sum",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": null,
"ordinal_position": 11
},
{
"name": "recharge_money_sum",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": null,
"ordinal_position": 12
},
{
"name": "scd2_start_time",
"data_type": "timestamp with time zone",
"is_nullable": false,
"column_default": null,
"comment": "【说明】SCD2 开始时间(版本生效起点),用于维度慢变追踪。 【示例】2025-11-10T00:00:00+08:00SCD2 开始时间(版本生效起点),用于维度慢变追踪)。 【ODS来源】member_profiles - 无DWD慢变元数据。 【JSON字段】无 - DWD慢变元数据 - 无。",
"ordinal_position": 13
},
{
"name": "scd2_end_time",
"data_type": "timestamp with time zone",
"is_nullable": true,
"column_default": null,
"comment": "【说明】SCD2 结束时间(默认 9999-12-31 表示当前版本),用于维度慢变追踪。 【示例】9999-12-31T00:00:00+00:00SCD2 结束时间(默认 9999-12-31 表示当前版本),用于维度慢变追踪)。 【ODS来源】member_profiles - 无DWD慢变元数据。 【JSON字段】无 - DWD慢变元数据 - 无。",
"ordinal_position": 14
},
{
"name": "scd2_is_current",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】SCD2 当前版本标记1=当前0=历史),用于筛选最新维度记录。 【示例】1SCD2 当前版本标记1=当前0=历史),用于筛选最新维度记录)。 【ODS来源】member_profiles - 无DWD慢变元数据。 【JSON字段】无 - DWD慢变元数据 - 无。",
"ordinal_position": 15
},
{
"name": "scd2_version",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】SCD2 版本号(自增),用于与时间段一起避免版本重叠。 【示例】1SCD2 版本号(自增),用于与时间段一起避免版本重叠)。 【ODS来源】member_profiles - 无DWD慢变元数据。 【JSON字段】无 - DWD慢变元数据 - 无。",
"ordinal_position": 16
}
]
}