Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7f3b1f42ed37e16e6beb764dfd099c29021bb5a5
39ab3fb529b0cca686c714aa7f9af641924697f7
6 changes: 6 additions & 0 deletions NEXT_CHANGELOG.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@
### Internal Changes

### API Changes
* Add `id` field for `databricks.sdk.service.sharing.CreateRecipient`.
* Add `id` field for `databricks.sdk.service.sharing.RecipientInfo`.
* Add `id` field for `databricks.sdk.service.sharing.UpdateRecipient`.
* Add `query_tags` field for `databricks.sdk.service.sql.ExecuteStatementRequest`.
* Add `query_tags` field for `databricks.sdk.service.sql.QueryInfo`.
* Add `uc_volume_misconfigured` enum value for `databricks.sdk.service.compute.EventType`.
1 change: 1 addition & 0 deletions databricks/sdk/__init__.py
100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion databricks/sdk/service/catalog.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions databricks/sdk/service/compute.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion databricks/sdk/service/postgres.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions databricks/sdk/service/sharing.py
100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions databricks/sdk/service/sql.py
100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/dbdataclasses/catalog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ These dataclasses are used in the SDK to represent API requests and responses fo

.. py:class:: SecurableKind

Latest kind: CONNECTION_WORKDAY_HCM_USERNAME_PASSWORD = 293; Next id: 294
Latest kind: CONNECTION_ONE_PASSWORD_EVENT_LOGS_BEARER_TOKEN = 294; Next id: 295

.. py:attribute:: TABLE_DB_STORAGE
:value: "TABLE_DB_STORAGE"
Expand Down
3 changes: 3 additions & 0 deletions docs/dbdataclasses/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,9 @@ These dataclasses are used in the SDK to represent API requests and responses fo
.. py:attribute:: TERMINATING
:value: "TERMINATING"

.. py:attribute:: UC_VOLUME_MISCONFIGURED
:value: "UC_VOLUME_MISCONFIGURED"

.. py:attribute:: UNPINNED
:value: "UNPINNED"

Expand Down
4 changes: 4 additions & 0 deletions docs/dbdataclasses/sql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,10 @@ These dataclasses are used in the SDK to represent API requests and responses fo
.. py:attribute:: STARTED
:value: "STARTED"

.. autoclass:: QueryTag
:members:
:undoc-members:

.. autoclass:: RepeatedEndpointConfPairs
:members:
:undoc-members:
Expand Down
8 changes: 6 additions & 2 deletions docs/workspace/sharing/recipients.rst
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
recipient follows the activation link to download the credential file, and then uses the credential file
to establish a secure connection to receive the shared data. This sharing mode is called **open sharing**.

.. py:method:: create(name: str, authentication_type: AuthenticationType [, comment: Optional[str], data_recipient_global_metastore_id: Optional[str], expiration_time: Optional[int], ip_access_list: Optional[IpAccessList], owner: Optional[str], properties_kvpairs: Optional[SecurablePropertiesKvPairs], sharing_code: Optional[str]]) -> RecipientInfo
.. py:method:: create(name: str, authentication_type: AuthenticationType [, comment: Optional[str], data_recipient_global_metastore_id: Optional[str], expiration_time: Optional[int], id: Optional[str], ip_access_list: Optional[IpAccessList], owner: Optional[str], properties_kvpairs: Optional[SecurablePropertiesKvPairs], sharing_code: Optional[str]]) -> RecipientInfo


Usage:
Expand Down Expand Up @@ -50,6 +50,8 @@
__cloud__:__region__:__metastore-uuid__.
:param expiration_time: int (optional)
Expiration timestamp of the token, in epoch milliseconds.
:param id: str (optional)
[Create,Update:IGN] common - id of the recipient
:param ip_access_list: :class:`IpAccessList` (optional)
IP Access List
:param owner: str (optional)
Expand Down Expand Up @@ -212,7 +214,7 @@
:returns: :class:`GetRecipientSharePermissionsResponse`


.. py:method:: update(name: str [, comment: Optional[str], expiration_time: Optional[int], ip_access_list: Optional[IpAccessList], new_name: Optional[str], owner: Optional[str], properties_kvpairs: Optional[SecurablePropertiesKvPairs]]) -> RecipientInfo
.. py:method:: update(name: str [, comment: Optional[str], expiration_time: Optional[int], id: Optional[str], ip_access_list: Optional[IpAccessList], new_name: Optional[str], owner: Optional[str], properties_kvpairs: Optional[SecurablePropertiesKvPairs]]) -> RecipientInfo


Usage:
Expand Down Expand Up @@ -242,6 +244,8 @@
Description about the recipient.
:param expiration_time: int (optional)
Expiration timestamp of the token, in epoch milliseconds.
:param id: str (optional)
[Create,Update:IGN] common - id of the recipient
:param ip_access_list: :class:`IpAccessList` (optional)
IP Access List
:param new_name: str (optional)
Expand Down
10 changes: 9 additions & 1 deletion docs/workspace/sql/statement_execution.rst
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@



.. py:method:: execute_statement(statement: str, warehouse_id: str [, byte_limit: Optional[int], catalog: Optional[str], disposition: Optional[Disposition], format: Optional[Format], on_wait_timeout: Optional[ExecuteStatementRequestOnWaitTimeout], parameters: Optional[List[StatementParameterListItem]], row_limit: Optional[int], schema: Optional[str], wait_timeout: Optional[str]]) -> StatementResponse
.. py:method:: execute_statement(statement: str, warehouse_id: str [, byte_limit: Optional[int], catalog: Optional[str], disposition: Optional[Disposition], format: Optional[Format], on_wait_timeout: Optional[ExecuteStatementRequestOnWaitTimeout], parameters: Optional[List[StatementParameterListItem]], query_tags: Optional[List[QueryTag]], row_limit: Optional[int], schema: Optional[str], wait_timeout: Optional[str]]) -> StatementResponse

Execute a SQL statement and optionally await its results for a specified time.

Expand Down Expand Up @@ -253,6 +253,14 @@

[Parameter markers]: https://docs.databricks.com/sql/language-manual/sql-ref-parameter-marker.html
[`cast` function]: https://docs.databricks.com/sql/language-manual/functions/cast.html
:param query_tags: List[:class:`QueryTag`] (optional)
An array of query tags to annotate a SQL statement. A query tag consists of a non-empty key and,
optionally, a value. To represent a NULL value, either omit the `value` field or manually set it to
`null` or white space. Refer to the SQL language reference for the format specification of query
tags. There's no significance to the order of tags. Only one value per key will be recorded. A
sequence in excess of 20 query tags will be coerced to 20. Example:

{ ..., "query_tags": [ { "key": "team", "value": "eng" }, { "key": "some key only tag" } ] }
:param row_limit: int (optional)
Applies the given row limit to the statement's result set, but unlike the `LIMIT` clause in SQL, it
also sets the `truncated` field in the response to indicate whether the result was trimmed due to
Expand Down
Loading