Azure Synapse SQL Account
In this article
Overview
You can use this account type to connect Azure Synapse SQL Snaps with data sources that use Azure Synapse SQL account.
Prerequisites
None.
Limitations
The Azure Synapse Analytics does not support Batch Insert and, therefore, does not honor Batch executions.
Known Issues
None.
Account Settings
Asterisk ( * ): Indicates a mandatory field.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon (): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon (): Indicates that you can add fields in the field set.
Remove icon (): Indicates that you can remove fields from the field set.
Field Name | Field Type | Field Dependency | Description | |
---|---|---|---|---|
Label* Default Value: None. | String | N/A | Specify a unique label for the account.
| |
Account properties* | Use this field set to define the account properties. | |||
Hostname* Default Value: N/A | String/Expression | N/A | Specify the server's address to which you must connect. | |
Port number* Default Value: N/A | Integer/Expression | N/A | Specify the port number of the database server to which you must connect. | |
Database name* Default Value: N/A | String/Expression | N/A | Specify the name of the database to which you must connect. | |
Username Default Value: N/A | String/Expression | N/A | Specify the username to connect to the database. | |
Password Default Value: N/A | String/Expression | N/A | Specify the password used to connect to the data source. | |
JDBC JARs | Use this field set to specify the JDBC JAR files to be loaded. Add each JAR file in a separate row. | |||
JDBC driver Default Value: N/A | String | N/A | Specify the driver to use for your application. By default, the latest JDBC driver 12.2.0.jre11 is bundled with the Azure Synapse SQL Account. However, you can manually upload a custom JAR file. | |
JBDC driver class* Default Value: com.microsoft.sqlserver.jdbc.SQLServerDriver | String | N/A | Specify the fully qualified name of the driver class to be used for connecting to the server.
| |
Trust all certificates Default Value: Deselected | Checkbox | N/A | Select this checkbox if all SSL certificates are to be accepted for connecting to the database. | |
External location Default Value: None | Dropdown list | N/A | Select one of the following source data locations from which to load data into the target database:
| |
External storage endpoint Default Value: N/A | String/Expression | Appears on selecting Blob Storage or Azure Data Lake Gen2 for External location. | Specify the endpoint path for the selected external location.
| |
Storage Account Default Value: N/A | String/Expression | Appears on selecting Blob Storage or Azure Data Lake Gen2 for External location. | Specify your account name to access the selected Azure external storage location. | |
Azure container Default Value: N/A | String/Expression | Appears on selecting Blob Storage or Azure Data Lake Gen2 for External location. | Specify the name of the container in the Azure storage account.
| |
Azure folder Default Value: N/A | String/Expression | Appears on selecting Blob Storage or Azure Data Lake Gen2 for External location. | Specify the relative path for the folder within the container specified above. Leave this field blank to use all the folders in the specified container. | |
Azure auth type Default Value: Access Key | Dropdown list | Appears on selecting Blob Storage or Azure Data Lake Gen2 for External location. | Select the authentication type to use for accessing the external storage location. Then, provide the values for Azure Identify and Azure Secret fields or the selected authentication type. The available options are:
Learn more about authentication types: COPY INTO (Transact-SQL) in Microsoft Docs. | |
Storage key Default Value: N/A | String/Expression | Appears on selecting Managed Identity for Azure auth type. | Specify the storage access key of the Azure Storage Account. | |
Azure identity Default Value: N/A | String/Expression | Appears on selecting Blob Storage or Azure Data Lake Gen2 for External location. | Specify the Azure Identity to access the selected external storage location.
The minimum RBAC roles required are Storage blob data contributor or Storage blob data owner for the AAD registered SQL Database server. | |
Azure secret Default Value: N/A | String/Expression | Appears on selecting Blob Storage or Azure Data Lake Gen2 for External location. | Specify the Azure Secret corresponding to the selected authentication type.
Learn more about the expected values for this field.: COPY INTO (Transact-SQL) in Microsoft Docs. | |
Enable error file support Default Value: Deselected | Checkbox | N/A | Select this checkbox to specify the directory within the COPY statement where the rejected rows and the corresponding error file should be written. The error file only applies to CSV file formats. | |
Error file Azure folder | String/Expression | Appears when you select Error file Azure folder. | Specify a valid path to a folder in the Azure container. You can specify the full path from the storage account or specify the path relative to the container. | |
Use new Azure account for error file Default Value: Deselected | Checkbox | Appears when you select Error file Azure folder. | Select this checkbox if you need to configure a new account. | |
Error file external location
| Dropdown list | Appears when you select Use new Azure account for error file. | Choose either of the following external locations where the files containing the data is staged:
| |
External storage endpoint Default Value: N/A
| String/Expression | Appears when you select Use new Azure account for error file. | Specify the endpoint in your external location path. | |
Error file storage account Default Value: N/A | String/Expression | Appears when you select Use new Azure account for error file. | Specify a valid Azure Storage Account. | |
Error f ile Azure container Default Value: N/A | String/Expression | Appears when you select Use new Azure account for error file. | Specify a valid Azure Container to use for staging data. | |
Error file Azure auth type Default Value: Access Key | Dropdown list | Appears when you select Use new Azure account for error file. | Choose the athorization type to access the error file in Azure Synapse:
| |
Error File Azure identity Default Value: N/A | String/Expression | Appears when you select Use new Azure account for error file. | Specify the Azure Identity that is part of the credential that specifies the authentication mechanism to access the external storage account. | |
Error file Azure secret Default Value: N/A | String/Expression | Appears when you select Use new Azure account for error file. | Secret is part of the credential that specifies the authentication mechanism to access the external storage account. | |
Advanced properties | Use this field set to specify the advanced properties. | |||
Auto commit Default value: Selected | Checkbox/Expression | N/A | Select this checkbox to commit each batch immediately after it is executed. If the Snap fails, only the batch being executed at that moment gets rolled back. Deselect this checkbox to commit the execution output only after the execution of all batches is complete. If the Snap fails, the entire transaction is rolled back, unless the Snap finds invalid input data before it sends the insert request to the server and routes the error documents to the Error view. | |
Batch size* Default Value: 50 | Integer/Expression | N/A | Specify the number of statements to execute at a time. | |
Fetch size* Default Value: 100 | Integer/Expression | N/A | Specify the number of rows to fetch at a time when executing a query. | |
Max pool size* Default Value: 50 | Integer/Expression | N/A | Specify the maximum number of connections a pool must maintain at a time.
| |
Max lifetime (minutes)* Default Value: 30 | Integer/Expression | N/A | Specify the maximum lifetime (in minutes) of a connection in the pool. | |
Idle timeout (minutes)* Default Value: 5 | Integer/Expression | N/A | Specify the maximum amount of time (in minutes) a connection is allowed to sit idle in the pool. A value of 0 indicates that idle connections are never removed from the pool. | |
Checkout timeout (milliseconds)* Default Value: 10000 | Integer/Expression | N/A | Specify the timeout (in milliseconds) to wait for a connection to be available when the pool is exhausted. | |
URL properties | Use this field set to define URL properties to use if any. | |||
URL property name Default Value: N/A | String/Expression | N/A | Specify a name for the URL property if any. | |
URL property value Default Value: N/A
| String/Expression | N/A | Specify a value for the URL property name. |
Snap Pack History
Related Content
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.