Skip to content

Adding a comment to an AUDIT sql file fails to load it #2054

@plaflamme

Description

@plaflamme

Adding a comment to an AUDIT sql file:

-- 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'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions