Entity dim_store

Stereotype: dimension

Subject areas: Sales Star

Attributes

#NameTypeNullDefaultKeyTermsDescription
1store_keyintegernoPK
2store_codetext(20)noUQ
3nametext(200)no
4regiontext(100)yes

Keys

KindNameAttributes
primarypk_dim_storestore_key
uniqueuq_dim_store_codestore_code

Relationships

NameRoleOther entityCardinalityAttributesIdentifyingOn deleteOn update
fact_sales_storeparentfact_salesone to manyfact_sales.store_key -> dim_store.store_keynono_actionno_action

Physical

bq (bigquery): public.dim_store

#NameTypeNullDefaultIdentityCollationAttributeComment
1store_keyint64nostore_key
2store_codestring(20)nostore_code
3namestring(200)noname
4regionstring(100)yesregion

dbx (databricks): default.dim_store

#NameTypeNullDefaultIdentityCollationAttributeComment
1store_keyintnoalwaysstore_key
2store_codestringnostore_code
3namestringnoname
4regionstringyesregion

mysql (mysql): warehouse.dim_store

Options: engine=InnoDB

#NameTypeNullDefaultIdentityCollationAttributeComment
1store_keyintnoby_defaultstore_key
2store_codevarchar(20)nostore_code
3namevarchar(200)noname
4regionvarchar(100)yesregion

pg (postgresql): dw.dim_store

#NameTypeNullDefaultIdentityCollationAttributeComment
1store_keyintegernoalwaysstore_key
2store_codevarchar(20)nostore_code
3namevarchar(200)noname
4regionvarchar(100)yesregion

rs (redshift): public.dim_store

#NameTypeNullDefaultIdentityCollationAttributeComment
1store_keyintegernoalwaysstore_key
2store_codevarchar(20)nostore_code
3namevarchar(200)noname
4regionvarchar(100)yesregion

snow (snowflake): public.dim_store

#NameTypeNullDefaultIdentityCollationAttributeComment
1store_keynumber(10, 0)noalwaysstore_key
2store_codevarchar(20)nostore_code
3namevarchar(200)noname
4regionvarchar(100)yesregion