Skip to content

Double brace not represented by BLOCK_END (referenced in MacroExtractor.extract) #340

@georgesittas

Description

@georgesittas

Due to a recent SQLGlot commit, the double brace token is no longer mapped to BLOCK_END. In the case of MacroExtractor.extract, we're referencing BLOCK_END, assuming that the mapping hasn't changed.

EDIT: after SQLGlot ≥v11.1.3 is deployed, the same problem will occur for BLOCK_START ({{) (tobymao/sqlglot@e8f8bb5)

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions