Skip to content

Commit

Permalink
Update the BQ export flat from Json to Avro
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourabh Bajaj committed Dec 14, 2016
1 parent e383c77 commit 0a558c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/runners/dataflow_runner.py
Expand Up @@ -520,7 +520,7 @@ def run_Read(self, transform_node):
elif transform.source.format == 'text':
step.add_property(PropertyNames.FILE_PATTERN, transform.source.path)
elif transform.source.format == 'bigquery':
step.add_property(PropertyNames.BIGQUERY_EXPORT_FORMAT, 'FORMAT_JSON')
step.add_property(PropertyNames.BIGQUERY_EXPORT_FORMAT, 'FORMAT_AVRO')
# TODO(silviuc): Add table validation if transform.source.validate.
if transform.source.table_reference is not None:
step.add_property(PropertyNames.BIGQUERY_DATASET,
Expand Down

0 comments on commit 0a558c7

Please sign in to comment.