fix(dataset import): Support catalog field during dataset import (#29576)

This commit is contained in:
Vitor Avila 2024-07-12 17:14:47 -03:00 committed by GitHub
parent 84a1cd245c
commit 0d352b4e06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -249,6 +249,7 @@ class ImportV1DatasetSchema(Schema):
offset = fields.Integer()
cache_timeout = fields.Integer(allow_none=True)
schema = fields.String(allow_none=True)
catalog = fields.String(allow_none=True)
sql = fields.String(allow_none=True)
params = fields.Dict(allow_none=True)
template_params = fields.Dict(allow_none=True)

View File

@ -494,6 +494,7 @@ dataset_config: dict[str, Any] = {
"offset": 66,
"cache_timeout": 55,
"schema": "",
"catalog": "default",
"sql": "",
"params": None,
"template_params": {},