def parse_table_name(bigquery_table):
  """Giving a string a:b.c, returns b.c.

  Args:
    bigquery_table: full table name project_id:dataset:table

  Returns:
    dataset:table

  Raises:
    ValueError: if a, b, or c contain the character ':'.
  """

  id_name = bigquery_table.split(':')
  if len(id_name) != 2:
    raise ValueError('Bigquery table name should be in the form '
                     'project_id:dataset.table_name. Got %s' % bigquery_table)
  return id_name[1]