--------------------------------------------------------------------------- omni-AST-based normalization helpers These replace the deleted legacy ANTLR helpers (NormalizeSnowSQLObjectName / NormalizeSnowSQLObjectNamePart / NormalizeSnowSQLSchemaName), operating on omni's hand-written AST nodes (*om
(statement string)
| 79 | // returns the resulting *ast.File. It mirrors trino.parseTrinoSQL: a thin |
| 80 | // wrapper over omniparser.Parse so call sites share one parse entry point. |
| 81 | func parseSnowflakeAST(statement string) (*omniast.File, error) { |
| 82 | return omniparser.Parse(statement) |
| 83 | } |
| 84 | |
| 85 | // normalizeSnowflakeIdentifier returns the canonical (folded) form of an omni |
| 86 | // Ident, applying the Snowflake identifier-folding rules: an unquoted identifier |
no outgoing calls
no test coverage detected