Skip to content

Commit 852aeb7

Browse files
author
harry
committed
disable normalize name to remove underscore as underscore is allowed in columnName
1 parent 9c95d12 commit 852aeb7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

awswrangler/athena.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ def _normalize_name(name: str) -> str:
269269
name = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", name)
270270
name = re.sub("([a-z0-9])([A-Z])", r"\1_\2", name)
271271
name = name.lower()
272-
name = name[1:] if name.startswith("_") else name # remove trailing underscores
273-
name = name[:-1] if name.endswith("_") else name # remove trailing underscores
274272
return name
275273

276274
@staticmethod

0 commit comments

Comments
 (0)