Skip to content

Commit d1006bb

Browse files
TCeasonBohuTANG
authored andcommitted
chore: mask value type is err
Now default column type is nullable
1 parent 2d6a7d7 commit d1006bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/sql-reference/10-sql-commands/00-ddl/12-mask-policy/create-mask-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ GRANT ROLE 'MANAGERS' TO 'manager_user';
5959
-- Create a masking policy
6060
CREATE MASKING POLICY email_mask
6161
AS
62-
(val string)
63-
RETURNS string ->
62+
(val nullable(string))
63+
RETURNS nullable(string) ->
6464
CASE
6565
WHEN current_role() IN ('MANAGERS') THEN
6666
val

0 commit comments

Comments
 (0)