Microsoft Azure Synapse Analytics
Dremio supports integrations with organizations using Azure Synapse Analytics dedicated SQL pools.
Connect to Microsoft Azure Synapse Analytics
- In the Dremio console, click Add Data on the Home page.
- In the Add Data dialog, select Microsoft Azure Synapse Analytics.
- Configure the connection using the sections below, then click Save.
General
Under Name, enter the name for the connection. The name cannot include the following special characters: /, :, [, or ].
Connection
- Under Host, enter the URL for your dedicated SQL pool, which typically ends in
.sql.azuresynapse.net. - Under Port (optional), enter the required port. Port 1433 is the default for Azure Synapse dedicated pools.
- Under Database, enter the database name. Only this database is accessed by Dremio.
Authentication
Choose an authentication method:
- No Authentication: Dremio does not attempt to provide any authentication when connecting with the SQL pool.
- Master Credentials: Dremio must provide a specified username and password to access the SQL pool.
- Username: Enter the Microsoft Azure Synapse Analytics username.
- Password:
- Dremio: Provide the Microsoft Azure Synapse Analytics password in plain text. Dremio stores the password.
Select the Encrypt connection option to encrypt the connection to Microsoft Azure Synapse Analytics. Clear the checkbox to disable encryption.
Advanced Options
The following settings control more advanced functionalities in Dremio.
- Advanced Options
- Record fetch size - Number of records to fetch at once. Set to 0 (zero) to have Dremio automatically decide. The default value is
200. - Maximum idle connections - The maximum number of idle connections to keep. The default value is
8. - Connection idle time (s) - Idle time, in seconds, before a connection is considered for closure. The default value is
60. - Query timeout (s) - The timeout, in seconds, for query execution before it is canceled. Set to
0for no timeout. The default value is0.
- Record fetch size - Number of records to fetch at once. Set to 0 (zero) to have Dremio automatically decide. The default value is
- Encryption
- Verify server certificate — Forces Dremio to verify the server's certificate using the distinguished name.
- SSL/TLS server certificate distinguished name — Specifies the location for the certificate server, which must be set to
*.sql.azuresynapse.net.
- Connection Properties
- Name — The unique name for any custom properties.
- Value — The value associated with the custom property.
Reflection Refresh
This tab controls the frequency of Reflection refreshes and the timespan for expiration for any queries performed.
- Never refresh — Prevents refreshing any Reflections.
- Refresh every — Sets the time interval at which Reflections are refreshed. This may be set to hours, days, or weeks.
- Set refresh schedule — Specify the daily or weekly schedule.
- Never expire — Prevents expiration of any Reflections.
- Expire after — Sets the time after a Reflection is created that it then expires and can no longer be used for queries. This may be set to hours, days, or weeks.
Metadata
This tab offers settings that control how dataset details are fetched and refreshed.
- Dataset Handling
- Remove dataset definitions if underlying data is unavailable — If this box is not checked and the files under a folder are removed or the data is not accessible, Dremio does not remove the dataset definitions. This option is useful in cases when files are temporarily deleted and put back in place with new sets of files.
- Metadata Refresh
- Dataset Discovery
- Fetch every — Specifies the time interval at which Dremio fetches object names. This can be set by minutes, hours, days, or weeks.
- Dataset Details
- Fetch mode — Restricts when metadata is retrieved.
- Fetch every — Specifies the time interval at which metadata is fetched. This can be set by minutes, hours, days, or weeks.
- Expire after — Specifies the timespan for when dataset details expire after a dataset is queried. This can be set by minutes, hours, days, or weeks.
- Dataset Discovery
Privileges
This connection inherits privileges from Project settings. To grant specific users or roles additional privileges in this connection:
- Enter the username or role name that you want to grant access to and click the Add to Privileges button. The added user or role is displayed in the USERS/ROLES table.
- For the users or roles in the USERS/ROLES table, toggle the checkmark for each privilege you want to grant on the Dremio source that is being created.
- Click Save after setting the configuration.
See Privileges for additional information about privileges.
Edit a Microsoft Azure Synapse Analytics Connection
- On the Open Catalog page, under Connections, right-click the connection and select Settings.
- Update the connection configuration as needed.
- Click Save.
Delete a Microsoft Azure Synapse Analytics Connection
If the source is in a bad state (for example, Dremio cannot authenticate to the source or the source is otherwise unavailable), only users who belong to the ADMIN role can delete the source.
- On the Open Catalog page, under Connections, right-click the connection and select Delete.
- Click Delete to confirm.
Predicate Pushdowns
Dremio delegates the execution of these expressions and functions to the database being queried, often dramatically improving query performance. It can also offload entire SQL queries that include one or more of these expressions and functions.
%, *, +, -, /
<, <=, <>, =, >, >=, !=
AND, NOT, OR, ||
ABS
ACOS
ADD_MONTHS
ASIN
ATAN
ATAN2
AVG
CAST
CEIL
CEILING
CHAR_LENGTH
CHARACTER_LENGTH
CONCAT
COS
COT
DATE_ADD
DATE_SUB
DATE_TRUNC_DAY
DATE_TRUNC_HOUR
DATE_TRUNC_MINUTE
DATE_TRUNC_MONTH
DATE_TRUNC_YEAR
DEGREES
E
EXP
EXTRACT_DAY
EXTRACT_DOW
EXTRACT_DOY
EXTRACT_HOUR
EXTRACT_MINUTE
EXTRACT_MONTH
EXTRACT_QUARTER
EXTRACT_SECOND
EXTRACT_WEEK
EXTRACT_YEAR
FLOOR
IS DISTINCT FROM
IS NOT DISTINCT FROM
IS NOT NULL
IS NULL
LAST_DAY
LCASE
LEFT
LENGTH
LIKE
LN
LOCATE
LOG
LOG10
LOWER
LPAD
LTRIM
MAX
MIN
MOD
MONTH
PI
POSITION
POW
POWER
RADIANS
RAND
REPLACE
REVERSE
RIGHT
ROUND
RPAD
RTRIM
SIGN
SIN
SQRT
SUBSTR
SUBSTRING
SUM
TAN
TIMESTAMPADD_DAY
TIMESTAMPADD_HOUR
TIMESTAMPADD_MINUTE
TIMESTAMPADD_MONTH
TIMESTAMPADD_QUARTER
TIMESTAMPADD_SECOND
TIMESTAMPADD_YEAR
TIMESTAMPDIFF_DAY
TIMESTAMPDIFF_HOUR
TIMESTAMPDIFF_MINUTE
TIMESTAMPDIFF_MONTH
TIMESTAMPDIFF_QUARTER
TIMESTAMPDIFF_SECOND
TIMESTAMPDIFF_WEEK
TIMESTAMPDIFF_YEAR
TO_DATE
TRIM
TRUNC
TRUNCATE
UCASE
UPPER
YEAR