Skip to content

Commit 9ff56d4

Browse files
authored
Add owner, createdBy, updatedBy to all securables and regen openapi docs (unitycatalog#469)
**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** Added owner, createdBy and updatedBy to all securable info objects and database tables Regenerated openAPI docs Updated the id names for model versions and registered models
1 parent 7ddb4d5 commit 9ff56d4

19 files changed

+212
-393
lines changed

api/Apis/ModelsApi.md

-325
This file was deleted.

api/Models/CatalogInfo.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
| **name** | **String** | Name of catalog. | [optional] [default to null] |
77
| **comment** | **String** | User-provided free-form text description. | [optional] [default to null] |
88
| **properties** | **Map** | A map of key-value properties attached to the securable. | [optional] [default to null] |
9+
| **owner** | **String** | Username of current owner of catalog. | [optional] [default to null] |
910
| **created\_at** | **Long** | Time at which this catalog was created, in epoch milliseconds. | [optional] [default to null] |
11+
| **created\_by** | **String** | Username of catalog creator. | [optional] [default to null] |
1012
| **updated\_at** | **Long** | Time at which this catalog was last modified, in epoch milliseconds. | [optional] [default to null] |
13+
| **updated\_by** | **String** | Username of user who last modified catalog. | [optional] [default to null] |
1114
| **id** | **String** | Unique identifier for the catalog. | [optional] [default to null] |
1215

1316
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

api/Models/FunctionInfo.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@
2222
| **comment** | **String** | User-provided free-form text description. | [optional] [default to null] |
2323
| **properties** | **String** | JSON-serialized key-value pair map, encoded (escaped) as a string. | [optional] [default to null] |
2424
| **full\_name** | **String** | Full name of function, in form of __catalog_name__.__schema_name__.__function__name__ | [optional] [default to null] |
25+
| **owner** | **String** | Username of current owner of function. | [optional] [default to null] |
2526
| **created\_at** | **Long** | Time at which this function was created, in epoch milliseconds. | [optional] [default to null] |
27+
| **created\_by** | **String** | Username of function creator. | [optional] [default to null] |
2628
| **updated\_at** | **Long** | Time at which this function was last updated, in epoch milliseconds. | [optional] [default to null] |
29+
| **updated\_by** | **String** | Username of user who last modified function. | [optional] [default to null] |
2730
| **function\_id** | **String** | Id of Function, relative to parent schema. | [optional] [default to null] |
2831
| **external\_language** | **String** | External language of the function. | [optional] [default to null] |
2932

api/Models/ModelVersionInfo.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33

44
| Name | Type | Description | Notes |
55
|------------ | ------------- | ------------- | -------------|
6-
| **model\_name** | **String** | Name of registered model, relative to parent schema. | [optional] [default to null] |
7-
| **catalog\_name** | **String** | Name of parent catalog. | [optional] [default to null] |
8-
| **schema\_name** | **String** | Name of parent schema relative to its parent catalog. | [optional] [default to null] |
9-
| **version** | **Long** | The version number of the model version. | [optional] [default to null] |
10-
| **source** | **String** | URI indicating the location of the source model artifacts. | [optional] [default to null] |
6+
| **model\_name** | **String** | The name of the parent registered model of the model version, relative to parent schema | [optional] [default to null] |
7+
| **catalog\_name** | **String** | The name of the catalog containing the model version | [optional] [default to null] |
8+
| **schema\_name** | **String** | The name of the schema containing the model version, relative to parent catalog | [optional] [default to null] |
9+
| **version** | **Long** | Integer model version number, used to reference the model version in API requests. | [optional] [default to null] |
10+
| **source** | **String** | URI indicating the location of the source artifacts (files) for the model version | [optional] [default to null] |
1111
| **run\_id** | **String** | The run id used by the ML package that generated the model. | [optional] [default to null] |
1212
| **status** | [**ModelVersionStatus**](ModelVersionStatus.md) | | [optional] [default to null] |
13-
| **storage\_location** | **String** | The storage location on the cloud under which model version data files are stored. | [optional] [default to null] |
14-
| **comment** | **String** | User-provided free-form text description. | [optional] [default to null] |
13+
| **storage\_location** | **String** | The storage location on the cloud under which model version data files are stored | [optional] [default to null] |
14+
| **comment** | **String** | The comment attached to the model version | [optional] [default to null] |
1515
| **created\_at** | **Long** | Time at which this model version was created, in epoch milliseconds. | [optional] [default to null] |
16-
| **created\_by** | **String** | The user that created the model version | [optional] [default to null] |
16+
| **created\_by** | **String** | The identifier of the user who created the model version | [optional] [default to null] |
1717
| **updated\_at** | **Long** | Time at which this model version was last modified, in epoch milliseconds. | [optional] [default to null] |
18-
| **updated\_by** | **String** | The user that last updated the model version | [optional] [default to null] |
19-
| **model\_version\_id** | **String** | Unique identifier for the model version. | [optional] [default to null] |
18+
| **updated\_by** | **String** | The identifier of the user who updated the model version last time | [optional] [default to null] |
19+
| **id** | **String** | Unique identifier for the model version. | [optional] [default to null] |
2020

2121
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2222

0 commit comments

Comments
 (0)