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

Method parse_agg

rat-sql-gap/seq2struct/grammars/spider.py:326–332  ·  view source on GitHub ↗
(self, agg)

Source from the content-addressed store, hash-verified

324 }
325
326 def parse_agg(self, agg):
327 agg_id, val_unit = agg
328 return {
329 '_type': 'agg',
330 'agg_id': {'_type': self.AGG_TYPES_F[agg_id]},
331 'val_unit': self.parse_val_unit(val_unit),
332 }
333
334 def parse_from(self, from_, infer_from_conditions=False):
335 return filter_nones({

Callers 1

parse_selectMethod · 0.95

Calls 1

parse_val_unitMethod · 0.95

Tested by

no test coverage detected