Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions open-api/rest-catalog-open-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,9 @@ class PlanStatus(BaseModel):
class RegisterTableRequest(BaseModel):
name: str
metadata_location: str = Field(..., alias='metadata-location')
overwrite: Optional[bool] = Field(
False, description='Whether to overwrite table metadata if table already exists'
)


class TokenType(BaseModel):
Expand Down
4 changes: 4 additions & 0 deletions open-api/rest-catalog-open-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3463,6 +3463,10 @@ components:
type: string
metadata-location:
type: string
overwrite:
description: Whether to overwrite table metadata if table already exists
Comment thread
dramaticlly marked this conversation as resolved.
Outdated
type: boolean
default: false

CreateViewRequest:
type: object
Expand Down