mozilla / bigquery-etl

Bigquery ETL
https://mozilla.github.io/bigquery-etl
Mozilla Public License 2.0
253 stars 100 forks source link

delete extraneous print statements which were used for testing #5843

Closed Marlene-M-Hirose closed 3 months ago

Marlene-M-Hirose commented 3 months ago

No need for these print statements anymore. No need for test statements.

Checklist for reviewer:

For modifications to schemas in restricted namespaces (see CODEOWNERS):

┆Issue is synchronized with this Jira Task

dataops-ci-bot commented 3 months ago

Integration report for "Merge branch 'main' into deng_2631_cleanup_query_file_from_test_print_statements"

sql.diff

Click to expand! ```diff diff -bur --no-dereference --new-file /tmp/workspace/main-generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_acquisitions_v1/query.py /tmp/workspace/generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_acquisitions_v1/query.py --- /tmp/workspace/main-generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_acquisitions_v1/query.py 2024-06-25 23:07:55.000000000 +0000 +++ /tmp/workspace/generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_acquisitions_v1/query.py 2024-06-25 23:07:53.000000000 +0000 @@ -115,7 +115,6 @@ } print(url) response = get_response(url, headers, url_params) - print(response) return response @@ -235,7 +234,6 @@ # Ping the microsoft_store URL and get a response json_file = download_microsoft_store_data(date, app["app_id"], bearer_token) query_export = check_json(json_file.text) - print(query_export) if query_export is not None: # This section writes the tmp json data into a temp CSV file which will then be put into a BigQuery table microsoft_store_data = clean_json(query_export, date) diff -bur --no-dereference --new-file /tmp/workspace/main-generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_conversions_v1/query.py /tmp/workspace/generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_conversions_v1/query.py --- /tmp/workspace/main-generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_conversions_v1/query.py 2024-06-25 23:07:55.000000000 +0000 +++ /tmp/workspace/generated-sql/sql/moz-fx-data-shared-prod/microsoft_derived/app_conversions_v1/query.py 2024-06-25 23:07:53.000000000 +0000 @@ -109,7 +109,7 @@ "Content-Type": "application/x-www-form-urlencoded", "Authorization": f"Bearer {token}", } - print(url + "&" + url_params) + print(url) response = get_response(url, headers, url_params) return response ```

Link to full diff