<@U088WCP3B4P> I configured a test for a column li...
# ask-elementary-ai
y
@kapa.ai I configured a test for a column like this in dbt:
Copy code
data_tests:
  - not_null:
    config:
      meta:
        channel: data_ops
how does the "channel" parameter work? If I set up different channels in different tests, what should I do to make sure that different alerts will be sent to different channels?
k
A message from kapa.ai
New message text here
y
@kapa.ai if i modified the config in the tests, what should i do to let elementary take into account that update before sending the alerts
k
A message from kapa.ai
New message text here
y
@kapa.ai I'm adding the meta part at the bottom of my test like this: data_tests: - dbt_utils.expression_is_true: name: tests config: where: true severity: warn meta: owner: "@name.name" channel: test-alert-notification-1 then i run dbt run --select model_name, but I get this error: Compilation Error Invalid generic test configuration given in models/modelname.yml: Test cannot have the same key at the top-level and in config @: UnparsedModelUpdate(original_file_path='mode...ne)
k
A message from kapa.ai
New message text here