Update the data source metadata associated with the provided handler ID. This endpoint does not perform partial updates, but will allow the dictionary to be omitted. In this case, it uses the current dictionary.
Required: The global GOVERNANCE permission or be the data source owner
Query parameters
Attribute
Description
Required
handlerId
integer The ID of the handler.
Yes
skipCache
boolean When true, will skip the handler cache when retrieving metadata.
No
Payload parameters
Attribute
Description
Required
handler
metadata Includes metadata about the handler, such as ssl, port, database, hostname, username, and password.
Yes
connectionString
string The connection string used to connect to the data source.
Yes
Response parameters
Attribute
Description
id
integer The ID of the handler.
ca
string The certificate authority.
columns
array[object] This is a Data Dictionary object, which provides metadata about the columns in the data source, including the name and data type of the column.
Request example
This request updates the metadata for the data source with the handler ID 41.
Payload example
The payload below removes the paragraph_count column from the data source.
Response example
Update multiple data sources
PUT/redshift/bulk
Update the data source metadata associated with the provided connection string.
Required: The global GOVERNANCE permission or be the data source owner
Payload parameters
Attribute
Description
Required
handler
metadata Includes metadata about the handler, such as ssl, port, database, hostname, username, and password.
Yes
connectionString
string The connection string used to connect to the data sources.
Yes
Response parameters
Attribute
Description
bulkId
string The ID of the bulk data source update.
connectionString
string The connection string shared by the data sources bulk updated.
jobsCreated
integer The number of jobs that ran to update the data sources; this number corresponds to the number of data sources updated.
Request example
This request updates the metadata for all data sources with the connection string specified in example-payload.json.
Payload example
The payload below adds a certificate (certificate.json) to connect to the data sources with the provided connection string.
Response example
Recalculate the high cardinality column for a data source