def make_table_prefix(table_id: str):
    """Remove the date from a table_id.

    :param table_id: the table id including a shard date.
    :return: the table id.
    """

    # -8 is removing the date from the string.
    return table_id[:-8]