code: func (c *CassandraStore) FindExistingTables(keyspace string) error {
  
  	meta, err := c.Session.KeyspaceMetadata(keyspace)
  	if err != nil {
  		return err
  	}
  
  	c.TTLTables = make(TTLTables)
  
  	for _, table := range meta.Tables {
  		if table.Name == "metric_idx" || !strings.HasPrefix(table.Name, "metric_") {
  			continue
  		}
  		fields := strings.Split(table.Name, "_")
  		if len(fields) != 2 {
  			return fmt.Errorf("could not parse table %q", table.Name)
  		}
  
  		ttl, err := strconv.Atoi(fields[1])
  		if err != nil {
  			return fmt.Errorf("could not parse table %q", table.Name)
  		}
  		c.TTLTables[uint32(ttl)] = Table{
  			Name:       table.Name,
  			QueryRead:  fmt.Sprintf(QueryFmtRead, table.Name),
  			QueryWrite: fmt.Sprintf(QueryFmtWrite, table.Name),
  			TTL:        uint32(ttl),
  		}
  	}
  	return nil
  }
docs: // FindExistingTables set's the store's table definitions to what it can find
  // in the database.
  // WARNING:
  // * does not set the windowSize property, because we don't know what the windowFactor was
  //   we could actually figure it based on the table definition, assuming the schema isn't tampered with,
  //   but there is no use case for this so we haven't implemented this.
  // * each table covers a range of TTL's. we set the TTL to the lower limit
  //   so remember the TTL might have been up to twice as much