Repository: TobikoData/sqlmesh (python)

Issue:
Adding a comment to an `AUDIT` sql file fails to load it
Adding a comment to an `AUDIT` sql file:

```sql
-- Some comment
AUDIT (
  name assert_order_items_quantity_exceeds_threshold
);

SELECT *
FROM @this_model
WHERE quantity <= @quantity
```

Will fail to load it with the following error:

```
Error: Invalid extra fields {'description'} in the audit definition at 'examples/sushi/audits/order_items.sql'
```

Pull request:
Fix: allow comments in audit file
Currently, the audit loader assigns any SQL comments above the audit DDL to the audit's `description` field. That field does not have first-class support, so audits with a comment present errored out.

This PR allows comments to be present by removing the assignment of the comment to the description field.

Closes #2054 

Patch:
diff --git a/sqlmesh/core/audit/definition.py b/sqlmesh/core/audit/definition.py
index 5232e21c..3af4b70e 100644
--- a/sqlmesh/core/audit/definition.py
+++ b/sqlmesh/core/audit/definition.py
@@ -485,8 +485,6 @@ def load_audit(
         raise
 
     meta_fields = {p.name: p.args.get("value") for p in meta.expressions if p}
-    if meta.comments:
-        meta_fields["description"] = "\n".join(comment.strip() for comment in meta.comments)
 
     standalone_field = meta_fields.pop("standalone", None)
     if standalone_field and not isinstance(standalone_field, exp.Boolean):


Test patch:
diff --git a/tests/core/test_audit.py b/tests/core/test_audit.py
index 4fb103ae..6804f8e2 100644
--- a/tests/core/test_audit.py
+++ b/tests/core/test_audit.py
@@ -37,6 +37,7 @@ def model_default_catalog() -> Model:
 def test_load(assert_exp_eq):
     expressions = parse(
         """
+        -- Audit comment
         Audit (
             name my_audit,
             dialect spark,