Skip to content

Commit 6a340ff

Browse files
committed
Adds additional reference to Foreign
1 parent 83c2ef5 commit 6a340ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

google/cloud/bigquery/enums.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ def _generate_next_value_(name, start, count, last_values):
267267
ARRAY = enum.auto()
268268
STRUCT = enum.auto()
269269
RANGE = enum.auto()
270+
FOREIGN = enum.auto() # NOTE: FOREIGN acts as a wrapper for data types
271+
# not natively understood by BigQuery unless translated
270272

271273

272274
class EntityTypes(str, enum.Enum):
@@ -306,8 +308,8 @@ class SqlTypeNames(str, enum.Enum):
306308
DATETIME = "DATETIME"
307309
INTERVAL = "INTERVAL" # NOTE: not available in legacy types
308310
RANGE = "RANGE" # NOTE: not available in legacy types
309-
FOREIGN = "FOREIGN" # NOTE: type acts as a wrapper for data types
310-
# not natively understood by BigQuery unless translated
311+
FOREIGN = "FOREIGN" # NOTE: FOREIGN acts as a wrapper for data types
312+
# not natively understood by BigQuery unless translated
311313

312314

313315
class WriteDisposition(object):

0 commit comments

Comments
 (0)