code: func (c *CasIdx) LoadPartitions(partitions []int32, defs []schema.MetricDefinition, now time.Time) []schema.MetricDefinition {
  	placeholders := make([]string, len(partitions))
  	for i, p := range partitions {
  		placeholders[i] = strconv.Itoa(int(p))
  	}
  	q := fmt.Sprintf("SELECT id, orgid, partition, name, interval, unit, mtype, tags, lastupdate from metric_idx where partition in (%s)", strings.Join(placeholders, ","))
  	iter := c.session.Query(q).Iter()
  	return c.load(defs, iter, now)
  }
docs: // LoadPartitions appends MetricDefinitions from the given partitions to defs and returns the modified defs, honoring pruning settings relative to now