Skip to content

Commit

Permalink
Cols from SQL temporary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samnlindsay committed Mar 2, 2022
1 parent ff503de commit 32ea69b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <robinlinacre@hotmail.com>", "Sam Lindsay", "Theodore Manassis"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion splink/parse_case_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 32ea69b

Please sign in to comment.