Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openedx-unsupported/edx-analytics-pipeline
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4e568e80de14bf932739a92f66e014aba53f0e5e
Choose a base ref
..
head repository: openedx-unsupported/edx-analytics-pipeline
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ce63f5a53417b15f84e1a1d16ba14bb1f2e22db5
Choose a head ref
Showing with 7 additions and 1 deletion.
  1. +7 −1 edx/analytics/tasks/common/bigquery_extract.py
8 changes: 7 additions & 1 deletion edx/analytics/tasks/common/bigquery_extract.py
Original file line number Diff line number Diff line change
@@ -95,13 +95,19 @@ def output_compression_type(self):
The type of compression to use for the output files.
Return None for no compression.
All available options are listed here:
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract.compression
"""
return 'GZIP'

@property
def output_format(self):
"""
The type of compression to use for the output files.
The file format to use for the output files.
All available options are listed here:
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract.destinationFormat
"""
return bigquery.DestinationFormat.NEWLINE_DELIMITED_JSON