Skip to content

Commit

Permalink
fix(ingest): remove backticks from table name when creating urn
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate committed Oct 19, 2022
1 parent 73fd358 commit 901eb6b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,10 @@ def get_fully_qualified_table_name(
fully_qualified_table_name = fully_qualified_table_name.lower()
# strip double quotes and escaped double quotes
fully_qualified_table_name = (
fully_qualified_table_name.replace('\\"', "").replace('"', "").replace("\\", "")
fully_qualified_table_name.replace('\\"', "")
.replace('"', "")
.replace("\\", "")
.replace("`", "")
)

if platform in ("athena", "hive", "mysql"):
Expand Down

0 comments on commit 901eb6b

Please sign in to comment.