Tags: tobymao/sqlglot
Tags
Fix(snowflake): parse GET_DDL #unknown_policy in ROW ACCESS POLICY [C… …LAUDE] (#7491) * Fix(snowflake): parse GET_DDL #unknown_policy in ROW ACCESS POLICY Snowflake's GET_DDL outputs `#unknown_policy` (without ON clause) when the user lacks privileges to see the actual policy name. Handle the `#` token prefix in the parser and ensure it is never quoted in output. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Fix: ruff-format and mypy type errors Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Fix: use X | None instead of t.Optional[X] per ruff UP007 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Fix: use Var instead of Identifier for #unknown_policy to avoid quoting Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Fix: simplify #unknown_policy parsing to use _parse_var directly Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Fix: incomplete `ColumnMapping` type hint Signed-off-by: George Sittas <[email protected]>
Fix: incomplete `ColumnMapping` type hint Signed-off-by: George Sittas <[email protected]>
PreviousNext