Skip to content

Commit

Permalink
fix: handle empty name in sanitize_name
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Nov 10, 2024
1 parent 0c35457 commit 87d1d79
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,8 @@ def get_ibis_table_name(table: IbisQuery):


def sanitize_name(name):
if not name:
return name
return (
name.replace(" ", "_")
.replace("-", "_")
Expand Down

0 comments on commit 87d1d79

Please sign in to comment.