def _create_temp_table()

in backfill/2022-08-15-clients-first-seen/backfill.py [0:0]


def _create_temp_table(client, job_config, dataset, table, sample_id):
    """Create temporary table for sample_id."""
    print(f"Create temporary table for sample_id={sample_id}")
    print(PARTITON_QUERY.format(sample_id=sample_id, dataset=dataset, table=table))
    client.query(
      PARTITON_QUERY.format(sample_id=sample_id, dataset=dataset, table=table),
      job_config=job_config
    ).result()