Skip to main content
Alters the connection parameters of an existing data source.
ALTER DATA SOURCE Syntax
The data source will be validated upon alteration, by default, and will fail to be altered if an authorized connection cannot be established.

Parameters

EXTERNAL

Optional keyword for clarity

<schema name>

Name of the schema containing the data source to alter

<data source name>

Name of the data source to alter

SET PROPERTY

Indicator that a comma-delimited list of alterations to make will follow.See Set Properties for the complete list of properties.

Examples

To alter a data source, kin_ds, updating the username & password:
ALTER DATA SOURCE Example

Set Properties

All data source properties can be altered via ALTER DATA SOURCE. The following are the property names and descriptions to use when performing an alteration.

Provider-Agnostic Properties

LOCATION

Location of the data source; see Provider-Specific Syntax for detailsThe data source can be from any of the following providers:
ProviderDescription
AZUREMicrosoft Azure blob storage
CONFLUENTConfluent Kafka streaming feed
GCSGoogle Cloud Storage
HDFSApache Hadoop Distributed File System
JDBCJDBC connection, where LOCATION is the JDBC or CData JDBC URL. See the supported list for the full list of supported drivers, or specify one with JDBC_DRIVER_JAR_PATH and JDBC_DRIVER_CLASS_NAME.
KAFKAApache Kafka streaming feed
S3Amazon S3 bucket

USER

User name, given in <username>, to use for authenticating to the data source

PASSWORD

Password, given in <password>, to use for authenticating to the data source

CREDENTIAL

Credential object to use to authenticate to the remote system

VALIDATE

Whether to test the connection to the data source upon creation; if TRUE, the creation of a data source that cannot be connected to will fail; if FALSE, the data source will be created regardless of connectivity. Default is TRUE.

Provider-Specific Properties