Fix google sheets metadata and change from "google_sheet" to "google_sheets" for consistency with google (#3914)
This commit is contained in:
Родитель
d8f1dbf1ff
Коммит
eb02488f34
|
@ -1843,7 +1843,7 @@ def _deploy_external_data(
|
|||
|
||||
if not table.created:
|
||||
if metadata.external_data.format in (
|
||||
ExternalDataFormat.GOOGLE_SHEET,
|
||||
ExternalDataFormat.GOOGLE_SHEETS,
|
||||
ExternalDataFormat.CSV,
|
||||
):
|
||||
external_config = bigquery.ExternalConfig(
|
||||
|
|
|
@ -117,7 +117,7 @@ class WorkgroupAccessMetadata:
|
|||
class ExternalDataFormat(enum.Enum):
|
||||
"""Represents the external types fo data that are supported to be integrated."""
|
||||
|
||||
GOOGLE_SHEET = "google_sheet"
|
||||
GOOGLE_SHEETS = "google_sheets"
|
||||
CSV = "csv"
|
||||
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ owners:
|
|||
labels:
|
||||
incremental: false
|
||||
external_data:
|
||||
format: google_sheet
|
||||
format: google_sheets
|
||||
source_uris:
|
||||
- https://docs.google.com/spreadsheets/d/16Cyx_KBieRdQkSBKolivqpBaK2H-VceN9LEZcL0snHg
|
||||
options:
|
||||
|
|
|
@ -8,7 +8,7 @@ owners:
|
|||
labels:
|
||||
incremental: false
|
||||
external_data:
|
||||
format: google_sheet
|
||||
format: google_sheets
|
||||
source_uris:
|
||||
- https://docs.google.com/spreadsheets/d/1wMKyIyzp8yW7YpNz6hpFe0sHueeeLHdHr3p-1br2TbA
|
||||
options:
|
||||
|
|
|
@ -8,7 +8,7 @@ owners:
|
|||
labels:
|
||||
incremental: false
|
||||
external_data:
|
||||
format: google_sheet
|
||||
format: google_sheets
|
||||
source_uris:
|
||||
- https://docs.google.com/spreadsheets/d/1wMKyIyzp8yW7YpNz6hpFe0sHueeeLHdHr3p-1br2TbA
|
||||
options:
|
||||
|
|
|
@ -8,7 +8,7 @@ owners:
|
|||
labels:
|
||||
incremental: false
|
||||
external_data:
|
||||
format: google_sheet
|
||||
format: google_sheets
|
||||
source_uris:
|
||||
- https://docs.google.com/spreadsheets/d/1wMKyIyzp8yW7YpNz6hpFe0sHueeeLHdHr3p-1br2TbA
|
||||
options:
|
||||
|
|
|
@ -8,7 +8,7 @@ owners:
|
|||
labels:
|
||||
incremental: false
|
||||
external_data:
|
||||
format: google_sheet
|
||||
format: google_sheets
|
||||
source_uris:
|
||||
- https://docs.google.com/spreadsheets/d/1wMKyIyzp8yW7YpNz6hpFe0sHueeeLHdHr3p-1br2TbA]
|
||||
options:
|
||||
|
|
Загрузка…
Ссылка в новой задаче