Skip to content

Commit 8645dec

Browse files
fix(monitor_plus_users_v1): schema updates (#8474)
1 parent b3f6088 commit 8645dec

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

sql/moz-fx-data-shared-prod/braze_derived/monitor_plus_users_v1/query.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import rich_click as click
44
from google.cloud import bigquery
55

6-
from bigquery_etl.cli.query import schema
7-
86

97
@click.command()
108
@click.option(
@@ -45,7 +43,10 @@ def import_file_from_bucket(
4543
job_config=bigquery.LoadJobConfig(
4644
write_disposition=bigquery.job.WriteDisposition.WRITE_TRUNCATE,
4745
source_format=bigquery.job.SourceFormat.CSV,
48-
schema=schema,
46+
schema=[
47+
bigquery.SchemaField("email", "STRING", mode="NULLABLE"),
48+
bigquery.SchemaField("source_file", "STRING", mode="NULLABLE"),
49+
],
4950
skip_leading_rows=1,
5051
),
5152
).result()

sql/moz-fx-data-shared-prod/braze_derived/monitor_plus_users_v1/schema.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)