Skip to content
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

fix: changing masking policy on a column requires FORCE #2186

Closed

Commits on Nov 10, 2023

  1. fix: changing masking policy on a column requires FORCE

    See docs: https://docs.snowflake.com/en/user-guide/security-column-intro#replace-a-masking-policy-on-a-column
    Attempting to change masking policy without FORCE would cause the following error:
    
    003529 (42601): Specified column already attached to another masking policy. A column cannot be attached to multiple masking policies. Please drop the current association in order to attach a new masking policy.
    
    This PR adds FORCE to the generated ALTER statement.
    
    It also adds table acceptance tests that cover masking policy creation and change
    malduarte committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    fe03432 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    60a27ee View commit details
    Browse the repository at this point in the history