-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snowflake Table DDL support of WITH MASKING POLICY column definition #201
Comments
here the test :
|
issue #201 snowflake table ddl improvement
changes was released in version 0.31.0, thanks for opening the PR & the issue! |
Is your feature request related to a problem? Please describe.
I would like to improve the CREATE TABLE statement of Snowflake ddl to support the Column WITH MASKING POLICY.
Describe the solution you'd like
CREATE OR REPLACE TABLE schemaName.TableAddresses (
AddressID NUMBER(38,0) NOT NULL,
Address1 VARCHAR(100) WITH MASKING POLICY DBName.MASKING_POLICY_LIBRARY.MASK_STRING WITH TAG (DBName.MASKING_POLICY_LIBRARY.PROJECT_POLICY_MASK='mask_object')
);
Supported by DDLParser.run() functions
Describe alternatives you've considered
add MASKING POLICY and TAG members same as Comment, Nullable or Default properties
https://docs.snowflake.com/en/sql-reference/sql/create-table
The text was updated successfully, but these errors were encountered: