def execute_query()

in perf_dashboard/bq_utils.py [0:0]


def execute_query(query):
    """Execute query and return the query results."""
    client = bigquery.Client()
    query_job = client.query((query))

    # Start the query job and wait it to complete
    return [row.values() for row in query_job.result()]