From af1dc8211b268bd15d50fd4a2e9a413728593353 Mon Sep 17 00:00:00 2001 From: Walter Poupore Date: Tue, 10 Sep 2019 11:25:01 -0700 Subject: [PATCH] Fixes doc urls. The current links result in 404 errors. --- google/datalab/bigquery/_schema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/datalab/bigquery/_schema.py b/google/datalab/bigquery/_schema.py index dd7ca7e41..0587647d2 100644 --- a/google/datalab/bigquery/_schema.py +++ b/google/datalab/bigquery/_schema.py @@ -216,7 +216,7 @@ def from_data(source): a definition of the schema as a list of dictionaries with 'name' and 'type' entries and possibly 'mode' and 'description' entries. Only used if no data argument was provided. 'mode' can be 'NULLABLE', 'REQUIRED' or 'REPEATED'. For the allowed types, see: - https://cloud.google.com/bigquery/preparing-data-for-bigquery#datatypes + https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types Note that there is potential ambiguity when passing a list of lists or a list of dicts between whether that should be treated as a list of records or a single record @@ -263,7 +263,7 @@ def __init__(self, definition=None): definition: a definition of the schema as a list of dictionaries with 'name' and 'type' entries and possibly 'mode' and 'description' entries. Only used if no data argument was provided. 'mode' can be 'NULLABLE', 'REQUIRED' or 'REPEATED'. For the allowed types, see: - https://cloud.google.com/bigquery/preparing-data-for-bigquery#datatypes + https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types """ super(Schema, self).__init__() self._map = {}