Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
301
def
count_agg(units):
302
return
len([unit
for
unit in units
if
has_agg(unit)])
303
304
305
def
count_component1(sql):
Callers
1
count_others
Function · 0.85
Calls
1
has_agg
Function · 0.85
Tested by
no test coverage detected