fix: nullable not_null_dw.fact_stock_minute_adj_factor
All checks were successful
MJN/finance-dbt/pipeline/head This commit looks good

This commit is contained in:
沈楠 2024-04-15 14:10:40 +08:00
parent 0ffaacc353
commit cead646bd4

View File

@ -2,7 +2,7 @@
version: 2
models:
- name: dw.dim_exchange
- name: dw.dim_exchange
description: "交易所"
columns:
- name: exchange_id
@ -20,7 +20,7 @@ models:
tests:
- not_null
- unique
- name: dw.dim_date
- name: dw.dim_date
description: "日期"
tests:
- dbt_utils.unique_combination_of_columns:
@ -63,7 +63,7 @@ models:
description: "星期"
tests:
- not_null
- name: dw.dim_time
- name: dw.dim_time
description: "时间"
tests:
- dbt_utils.unique_combination_of_columns:
@ -94,7 +94,7 @@ models:
description: "分钟"
tests:
- not_null
- name: dw.dim_hs_calendar
- name: dw.dim_hs_calendar
description: "沪深交易日历"
tests:
- dbt_utils.unique_combination_of_columns:
@ -114,7 +114,7 @@ models:
description: "是否交易"
tests:
- not_null
- name: dw.dim_stock
- name: dw.dim_stock
description: "股票"
tests:
- dbt_utils.unique_combination_of_columns:
@ -179,7 +179,7 @@ models:
description: "实际控制人企业类型"
- name: dt
description: "更新时间"
- name: dw.fact_stock_daily
- name: dw.fact_stock_daily
description: "股票日数据"
tests:
- dbt_utils.unique_combination_of_columns:
@ -245,7 +245,7 @@ models:
description: "总市值(万元)"
- name: circ_mv
description: "流通市值(万元)"
- name: dw.fact_stock_minute
- name: dw.fact_stock_minute
description: "股票分钟数据"
tests:
- dbt_utils.unique_combination_of_columns:
@ -284,8 +284,6 @@ models:
- name: adj_factor
description: "复权因子"
data_type: "Decimal(16,6)"
tests:
- not_null
- name: dt
description: "时间"
data_type: "DateTime"