From 6c5c95ad26bb42dcb3ffb45fa789d4ce9a2ada58 Mon Sep 17 00:00:00 2001 From: Raj Tekal Date: Thu, 18 Apr 2024 15:22:51 -0400 Subject: [PATCH] Revert as the commit comes from #10296 --- metadata-ingestion/src/datahub/ingestion/source/mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-ingestion/src/datahub/ingestion/source/mode.py b/metadata-ingestion/src/datahub/ingestion/source/mode.py index 1fed07488ac0f..8dcdc5eeef404 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/mode.py +++ b/metadata-ingestion/src/datahub/ingestion/source/mode.py @@ -593,7 +593,7 @@ def _replace_definitions(self, raw_query: str) -> str: def _parse_definition_name(self, definition_variable: str) -> Tuple[str, str]: name, alias = "", "" # i.e '{{ @join_on_definition as alias}}' - name_match = re.findall("@[a-zA-Z]+", definition_variable) + name_match = re.findall("@[a-zA-z]+", definition_variable) if len(name_match): name = name_match[0][1:] alias_match = re.findall(