From 534ffb94f5e7dd891089df34b6da0fa76ce57a68 Mon Sep 17 00:00:00 2001 From: Adrian Jutrowski Date: Mon, 4 Sep 2023 11:23:14 +0200 Subject: [PATCH] Update selector.py Only log from not supported filter. This validator is not validating all of use cases --- cosmos/dbt/selector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmos/dbt/selector.py b/cosmos/dbt/selector.py index fc1048220..8ffd5dfb8 100644 --- a/cosmos/dbt/selector.py +++ b/cosmos/dbt/selector.py @@ -160,7 +160,7 @@ def select_nodes( elif any([filter_parameter.startswith(CONFIG_SELECTOR + config + ":") for config in SUPPORTED_CONFIG]): continue else: - raise CosmosValueError(f"Invalid {filter_type} filter: {filter_parameter}") + logger.warning(f"Invalid {filter_type} filter: {filter_parameter}") subset_ids: set[str] = set()