MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / get_tables_with_alias

Function get_tables_with_alias

hardness_eval.py:188–193  ·  view source on GitHub ↗
(schema, toks)

Source from the content-addressed store, hash-verified

186
187
188def get_tables_with_alias(schema, toks):
189 tables = scan_alias(toks)
190 for key in schema:
191 assert key not in tables, "Alias {} has the same name in table".format(key)
192 tables[key] = key
193 return tables
194
195
196def parse_col(toks, start_idx, tables_with_alias, schema, default_tables=None):

Callers 1

get_sqlFunction · 0.70

Calls 1

scan_aliasFunction · 0.70

Tested by

no test coverage detected