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

Method parse_select

rat-sql-gap/seq2struct/grammars/spider.py:318–324  ·  view source on GitHub ↗
(self, select)

Source from the content-addressed store, hash-verified

316 })
317
318 def parse_select(self, select):
319 is_distinct, aggs = select
320 return {
321 '_type': 'select',
322 'is_distinct': is_distinct,
323 'aggs': [self.parse_agg(agg) for agg in aggs],
324 }
325
326 def parse_agg(self, agg):
327 agg_id, val_unit = agg

Callers 1

parse_sqlMethod · 0.95

Calls 1

parse_aggMethod · 0.95

Tested by

no test coverage detected