code: func translateKeyName(t *Table) {
  	pk := t.EntityDefinition.Key
  	for i := range pk.PartitionKeys {
  		name := pk.PartitionKeys[i]
  		if v, ok := t.FieldToCol[name]; ok {
  			pk.PartitionKeys[i] = v
  		}
  	}
  
  	for i := range pk.ClusteringKeys {
  		name := pk.ClusteringKeys[i].Name
  		if v, ok := t.FieldToCol[name]; ok {
  			pk.ClusteringKeys[i].Name = v
  		}
  	}
  
  	for _, index := range t.Indexes {
  		pk := index.Key
  		for i := range pk.PartitionKeys {
  			name := pk.PartitionKeys[i]
  			if v, ok := t.FieldToCol[name]; ok {
  				pk.PartitionKeys[i] = v
  			}
  		}
  
  		for i := range pk.ClusteringKeys {
  			name := pk.ClusteringKeys[i].Name
  			if v, ok := t.FieldToCol[name]; ok {
  				pk.ClusteringKeys[i].Name = v
  			}
  		}
  	}
  }
docs: // translateKeyName translate the primary keys to the internal column name based on the mapping
  // between fields and columns.