code: func getTables(store *cassandra.CassandraStore, match string) ([]cassandra.Table, error) {
  	var tables []cassandra.Table
  	if match == "*" || match == "" {
  		for _, table := range store.TTLTables {
  			if table.Name == "metric_idx" || !strings.HasPrefix(table.Name, "metric_") {
  				continue
  			}
  			tables = append(tables, table)
  		}
  		sort.Sort(TablesByTTL(tables))
  	} else {
  		for _, table := range store.TTLTables {
  			if table.Name == match {
  				tables = append(tables, table)
  				return tables, nil
  			}
  		}
  		return nil, fmt.Errorf("table %q not found", match)
  	}
  	return tables, nil
  }
docs: // getTables returns the requested cassandra store tables in TTL asc order based on match string