Skip to content

Conversation

@fivetran-ashashankar
Copy link
Collaborator

Returns the name of the primary role in use for the current session when the primary role is an account-level role or NULL if the role in use for the current session is a database role.

…rt for CURRENT_ROLE. Return type VARCHAR

added current_role to no_paren list
Copy link
Collaborator

@VaggelisD VaggelisD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks g2g once the conflicts are solved, thank you!

@georgesittas georgesittas merged commit fca91a7 into main Dec 8, 2025
2 of 8 checks passed
@georgesittas georgesittas deleted the RD-1070499-annoate-type-for-CURRENT_ROLE branch December 8, 2025 10:58
georgesittas added a commit that referenced this pull request Dec 8, 2025
* feat(snowflake)!: annotation support for CURRENT_ROLE. Return type VARCHAR

* feat(snowflake)!: adding tests to mysql and postgres.annotation support for CURRENT_ROLE. Return type VARCHAR

* feat(snowflake)!: adding tests to mysql and postgres.annotation support for CURRENT_ROLE. Return type VARCHAR
added current_role to no_paren list

---------

Co-authored-by: Jo <46752250+georgesittas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants