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
EXTERNAL
Optional keyword for clarity
<schema name>
<schema name>
Name of the schema containing the data source to alter
<data source name>
<data source name>
Name of the data source to alter
SET PROPERTY
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
Location of the data source; see Provider-Specific Syntax for detailsThe data source can be from any of the following providers:
| Provider | Description |
|---|---|
AZURE | Microsoft Azure blob storage |
CONFLUENT | Confluent Kafka streaming feed |
GCS | Google Cloud Storage |
HDFS | Apache Hadoop Distributed File System |
JDBC | JDBC 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. |
KAFKA | Apache Kafka streaming feed |
S3 | Amazon S3 bucket |
USER
USER
User name, given in
<username>, to use for authenticating to the data sourcePASSWORD
PASSWORD
Password, given in
<password>, to use for authenticating to the data sourceCREDENTIAL
CREDENTIAL
Credential object to use to authenticate to the remote system
VALIDATE
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.