Repository navigation
[Managed table 1] Add staging table API to the spec - #1126
Conversation
305a054 to
8bc5e75
Compare
466d239 to
3cc5522
Compare
|
|
||
| Create a staging table | ||
|
|
||
| Creates a new staging table instance. Staging tables are used during managed table creation. Creating a managed table requires performing two actions – initializing the table data in cloud storage and creating the named table entry in the catalog – and these should appear as an atomic operation to other operations on catalog tables. A staging table is used to allocate storage for the managed table, and the `catalog_name.schema_name.name` parameters provided in this request are used to initialize any required storage properties and determine the storage URL that should be used for the data contained by this table. Temporary credentials can be obtained as though the staging table were a regular table to get access to the staging table’s storage. After the table’s data is initialized, the staging table is “promoted” to a managed table by creating a managed table with the same location as the staging table. This allows for the atomic creation of a managed table that already has full data written to its storage location. Note: the name provided must match the name used to initialize the staging table originally. WARNING: This API is experimental and will change in future versions. |
There was a problem hiding this comment.
`catalog_name.schema_name.name` , what does this mean ? Is it an encoded HTML tag ?
There was a problem hiding this comment.
This is the encoded single quote. It appears that this openapi->md can't handle single quote gracefully. So I just removed it.
|
|
||
| ### Authorization | ||
|
|
||
| No authorization required |
There was a problem hiding this comment.
What does this mean here ? No authorization required. What's the case that require the Authorization ?
There was a problem hiding this comment.
I guess that simply means that we don't document authorization in this all.yaml. This is also true for createTable in the same file.
| # CreateStagingTable | ||
| ## Properties | ||
|
|
||
| | Name | Type | Description | Notes | |
There was a problem hiding this comment.
Seems like we don't have a column indicating which column is required or optional ?
There was a problem hiding this comment.
All are required. Only optional ones will be marked as [optional]. For example, check CreateModelVersion.md
Signed-off-by: Yi Li <[email protected]>
3cc5522 to
f1133bd
Compare
| creation of a managed table that already has full data written to its storage location. Note: the name provided | ||
| must match the name used to initialize the staging table originally. | ||
|
|
||
| WARNING: This API is experimental and will change in future versions. |
There was a problem hiding this comment.
| WARNING: This API is experimental and will change in future versions. | |
| WARNING: This API is experimental and may change in future versions. |
tdas
left a comment
There was a problem hiding this comment.
just one comment. please address it in follow up PRs that you already have. i will merge this. thank you for adding this.
**PR Checklist** - [X] A description of the changes is added to the description of this PR. - [ ] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Add staging table API to the spec Signed-off-by: Yi Li <[email protected]>
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [x] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Backport the #1126 to branch-0.3, the related issue is here: #1143 Signed-off-by: Yi Li <[email protected]> Co-authored-by: Tathagata Das <[email protected]>
PR Checklist
docsis updatedDescription of changes
Add staging table API to the spec