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)
issue (bug_risk): Unquoted identifiers and share name could cause failures or unexpected behavior for unusual names.
This SQL assumes
database,schema,row.name, andshare_nameare simple identifiers. If any include mixed case, spaces, or special characters, the GRANT can fail or target the wrong object. Please quote these withadapter.quote()(e.g.,{{ adapter.quote(database) }}) and treatshare_nameas an identifier to avoid subtle grant bugs.Originally posted by @sourcery-ai[bot] in #20 (comment)