-
Notifications
You must be signed in to change notification settings - Fork 356
Open
Description
On example Example of SCD Type 2 By Column in Action its mentioned: We configure the SCD Type 2 By Column model to check the columns Name and Price for changes as I checked on the model definition a column should be declared as or composition as unique_key
If the model definition is like the example on the same example above:
MODEL (
name db.menu_items,
kind SCD_TYPE_2_BY_COLUMN (
unique_key id,
columns [name, price]
)
);
SELECT
id::INT,
name::STRING,
price::DOUBLE,
FROM
stg.current_menu_items;
how is possible to have multiple ids for the same [Name,Price] since id is the unique_key?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels