Skip to content

Commit

Permalink
fix copy paste errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Mar 4, 2022
1 parent e971226 commit 7a293b4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions splink/parse_case_statement.py
Expand Up @@ -14,16 +14,8 @@ def get_columns_used_from_sql(sql):
path[subtree.depth] = type(subtree)
if Lambda in path.values():
continue
if type(subtree) is Column:
if retain_table_prefix:
column_names.add(subtree.sql())
else:
column_names.add(subtree.this.sql())
if type(subtree) is Bracket:
if retain_table_prefix:
column_names.add(subtree.sql())
else:
column_names.add(subtree.this.sql())
if type(subtree) in (Column, Bracket):
column_names.add(subtree.this.sql())
return list(column_names)


Expand Down

0 comments on commit 7a293b4

Please sign in to comment.