MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / count_agg

Function count_agg

rat-sql-gap/seq2struct/datasets/spider_lib/evaluation.py:301–302  ·  view source on GitHub ↗
(units)

Source from the content-addressed store, hash-verified

299
300
301def count_agg(units):
302 return len([unit for unit in units if has_agg(unit)])
303
304
305def count_component1(sql):

Callers 1

count_othersFunction · 0.85

Calls 1

has_aggFunction · 0.85

Tested by

no test coverage detected