We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cdbc39 commit 7515990Copy full SHA for 7515990
sqlmesh/core/audit/definition.py
@@ -485,8 +485,6 @@ def load_audit(
485
raise
486
487
meta_fields = {p.name: p.args.get("value") for p in meta.expressions if p}
488
- if meta.comments:
489
- meta_fields["description"] = "\n".join(comment.strip() for comment in meta.comments)
490
491
standalone_field = meta_fields.pop("standalone", None)
492
if standalone_field and not isinstance(standalone_field, exp.Boolean):
tests/core/test_audit.py
@@ -37,6 +37,7 @@ def model_default_catalog() -> Model:
37
def test_load(assert_exp_eq):
38
expressions = parse(
39
"""
40
+ -- Audit comment
41
Audit (
42
name my_audit,
43
dialect spark,
0 commit comments