ALTER SHADOW RULE
storageUnitMapping
specifies the mapping relationship between the source
database and the shadow library. You need to use the storage unit managed by RDL, please refer to ;shadowAlgorithm
can act on multiple shadowTableRule
at the same time;- If
algorithmName
is not specified, it will be automatically generated according to ruleName
, tableName
and shadowAlgorithmType
; - currently supports
VALUE_MATCH
, REGEX_MATCH
and SQL_HINT
.
SOURCE=demo_ds,
SHADOW=demo_ds_shadow,
t_order(TYPE(NAME="SQL_HINT")),
t_order_item(TYPE(NAME="VALUE_MATCH", PROPERTIES("operation"="insert","column"="user_id", "value"='1')))