(self, select)
| 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 |