Managing bindings
Bindings contain information about the connection, data format, and schema. You can use several different bindings in a single query.
Creating a binding
To create a binding:
- In the management console
, select the folder where you want to create a binding. - Navigate to Yandex Query.
- In the left-hand panel, select Bindings.
- Click
Create. - Under Connection parameters:
- Select the target connection type for the binding:
Data StreamsorObject Storage. - Select an existing connection or create a new one.
- Select the target connection type for the binding:
- Under Binding parameters:
-
Specify the binding name and description. The naming requirements are as follows:
- The name must consist of lowercase Latin letters.
- It must be between 3 and 63 characters in length.
- It may contain digits and hyphens.
- It must start with a letter and cannot end with a hyphen.
-
For the Data Streams connection type, select or create a new data stream.
For the Object Storage connection type, specify the bucket path. -
Optionally, select the compression algorithm.
-
Select data binding format.
-
Add columns:
- Specify the column name.
- Select the column type.
- Enable Required, if required.
-
- Click Create.
Getting binding details
-
In the management console
, select the folder where you created the binding. -
Navigate to Yandex Query.
-
In the left-hand panel, select Bindings.
-
Find the binding you need in the list and click
in its row.
Binding details will appear under the list:
General:- Data paths
- Data format
- Compression
Columns: Data binding columns and their types.
Connection parameters:
- Type
- Source details
- Authentication
Meta:
- ID
- Creation timestamp
- Creator
Modifying a binding
- In the management console
, select the folder with the binding you want to update. - Navigate to Yandex Query.
- In the left-hand panel, select Bindings.
- Locate the binding you need in the list, click
in its row, and select Edit. - Update the binding settings. Note that the Connection parameters section settings are read-only.
- Click Modify.
Deleting a binding
- In the management console
, select the folder containing the binding you want to delete. - Navigate to Yandex Query.
- In the left-hand panel, select Bindings.
- Locate the binding you need in the list, click
in its row, and select Delete. - Confirm the deletion.