def _render_groupings(fields):

    if not fields:
        return ""

    return "GROUP BY " + ", ".join(fields)
Render the group by part of a query.
dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/query_builder.py/_render_groupings