diff --git a/pyproject.toml b/pyproject.toml index 2d05cdc4cc..87e50315af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "splink" -version = "2.1.9" +version = "2.1.10" description = "Implementation of Fellegi-Sunter's canonical model of record linkage in Apache Spark, including EM algorithm to estimate parameters" authors = ["Robin Linacre ", "Sam Lindsay", "Theodore Manassis"] license = "MIT" diff --git a/splink/parse_case_statement.py b/splink/parse_case_statement.py index 6a3769f0b8..695f69fb8a 100644 --- a/splink/parse_case_statement.py +++ b/splink/parse_case_statement.py @@ -11,7 +11,7 @@ def get_columns_used_from_sql(sql): subtree = tup[0] if type(subtree) is Column: column_names.add(subtree.sql()) - elif type(subtree) is Bracket: + elif type(subtree) is Bracket and subtree.text("this") not in ('','x'): column_names.add(subtree.text("this")) return list(column_names)