Skip to content

Commit 244c822

Browse files
author
Jeff Kramer
authored
Add AVRO as a valid BigQuery SourceFormat
See googleapis#2627
1 parent bc91543 commit 244c822

File tree

1 file changed

+2
-1
lines changed
  • bigquery/google/cloud/bigquery

1 file changed

+2
-1
lines changed

bigquery/google/cloud/bigquery/job.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ class SourceFormat(_EnumProperty):
7070
CSV = 'CSV'
7171
DATASTORE_BACKUP = 'DATASTORE_BACKUP'
7272
NEWLINE_DELIMITED_JSON = 'NEWLINE_DELIMITED_JSON'
73-
ALLOWED = (CSV, DATASTORE_BACKUP, NEWLINE_DELIMITED_JSON)
73+
AVRO = 'AVRO'
74+
ALLOWED = (CSV, DATASTORE_BACKUP, NEWLINE_DELIMITED_JSON, AVRO)
7475

7576

7677
class WriteDisposition(_EnumProperty):

0 commit comments

Comments
 (0)