Skip to content

**issue (bug_risk):** Unquoted identifiers and share name could cause failures or unexpected behavior for unusual names. #21

Description

issue (bug_risk): Unquoted identifiers and share name could cause failures or unexpected behavior for unusual names.

This SQL assumes database, schema, row.name, and share_name are simple identifiers. If any include mixed case, spaces, or special characters, the GRANT can fail or target the wrong object. Please quote these with adapter.quote() (e.g., {{ adapter.quote(database) }}) and treat share_name as an identifier to avoid subtle grant bugs.

Originally posted by @sourcery-ai[bot] in #20 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions