Skip to content

Commit

Permalink
Regex range
Browse files Browse the repository at this point in the history
  • Loading branch information
pinakipb2 committed Jul 31, 2024
1 parent e83550b commit f733407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/ingestion/source/mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,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(
Expand Down

0 comments on commit f733407

Please sign in to comment.