def METHOD_NAME(client, date, table):
    """Returns the size of a specific date parition of the specified table."""
    job_config = bigquery.QueryJobConfig(dry_run=True, use_query_cache=False)
    job_config_columns_info = bigquery.QueryJobConfig(dry_run=False, use_query_cache=False)
    dataset_id = table[0]
    table_id = table[1]
    partition_column_sql = f"""
                            SELECT column_name
                            FROM {dataset_id}.INFORMATION_SCHEMA.COLUMNS
                            WHERE table_name = '{table_id}' and is_partitioning_column = 'YES'
                        """
    partition_column_name_result = client.query(partition_column_sql, job_config=job_config_columns_info)
    partition_column_name = [row[0] for row in partition_column_name_result.result()]
    if len(partition_column_name) > 0 and partition_column_name[0] in ('submission_date', 'submission_timestamp'):
        sql = f"""
                SELECT * FROM `{dataset_id}.{table_id}`
                WHERE DATE({partition_column_name[0]}) = '{date}'
            """
        job = client.query(sql, job_config=job_config)
        size = job.total_bytes_processed if job.total_bytes_processed is not None else 0
        return {
            "submission_date": date,
            "dataset_id": dataset_id,
            "table_id": table_id,
            "byte_size": size
        }