CREATE SHADOW ALGORITHM

    • 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;

    Create a shadow algorithm

    1. CREATE SHADOW ALGORITHM
    2. (simple_hint_algorithm, TYPE(NAME="SIMPLE_HINT", PROPERTIES("shadow"="true", "foo"="bar"))),
    3. (user_id_match_algorithm, TYPE(NAME="REGEX_MATCH",PROPERTIES("operation"="insert", "column"="user_id", "regex"='[1]'))

    CREATE, SHADOW, ALGORITHM, TYPE, NAME, PROPERTIES