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

Function getMatchingTables

union/Santos/query_opendata.py:36–45  ·  view source on GitHub ↗
(item, weight, parameter)

Source from the content-addressed store, hash-verified

34 return tp, fp
35
36def getMatchingTables(item, weight, parameter):
37 returnList = []
38 #print(merge)
39 for each in item:
40 temp = each
41 tableName = temp[0]
42 #tableName = genFunc.cleanTableName(temp[0])
43 tableScore = temp[-1] * weight *parameter
44 returnList.append((tableName, tableScore))
45 return returnList
46
47
48#compute synthesized CS for the query table

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected