Skip to content

user names with special characters (like emails) work as expected #145

@sfc-gh-abouts

Description

@sfc-gh-abouts

Please update the following code (and all other instances) so that user names with special characters (like emails) work as expected.

line 210:
https://github.com/Snowflake-Labs/sf-samples/blob/main/samples/tasty_bytes/FY25_Zero_To_Snowflake/tb_governance_snowflake_horizon.sql

from:
SET my_user_var = CURRENT_USER();

to:
SET my_user_var = (SELECT '"' || CURRENT_USER() || '"' );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions