MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / cleanTableName

Function cleanTableName

union/Santos/generalFunctions.py:66–70  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

64
65#remove hyphen and whitespaces from the table name
66def cleanTableName(string):
67 tableName = string.replace("-","")
68 tableName = ' '.join(tableName.split("_"))
69 tableName = '_'.join(tableName.split())
70 return tableName
71
72#needed if direct hit is not found in the KB
73def extractNouns(stringList):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected