Skip to main content Skip to complementary content

Create a Presto connection

You need to know the server name that you want to connect to, in order to access data stored in Presto-configured databases. If LDAP authentication is required, you must also have access credentials. You can authenticate with Kerberos if you are using Qlik Sense Enterprise on Windows.

Once you have created a Presto connection, you can select data from the available databases and tables and load that data into your app. If you select multiple databases, data will be loaded from all of them at the same time.

In Qlik Sense, you connect to Presto through the Add data dialog or the Data load editor.

In QlikView, you connect to Presto through the Edit Script dialog.

Setting up the database properties

Database properties that can be configured
Database property Description Required
Host name The IP address or host name of the Presto server. Yes
Port Port number for the Presto server. Yes
Catalog (Project) The name of a database available to the Presto server. Specifying a database preselects it for the data selection step, but additional databases can be selected during the data selection process. No

Authentication

Qlik Sense: Presto authentication options

Authentication properties that can be configured
Property Description
Authentication Type Choose authentication method: no authentication,LDAP , or Kerberos. Kerberos authentication is only available if you are using Qlik Sense Enterprise on Windows. Selecting LDAP Authentication gives you the option to set up Account properties.
Username Username for the Presto connection when using LDAP authentication.
Password Password for the Presto connection when using LDAP authentication.
Name

Name of the Presto connection. The default name will be used if you do not enter a name.

Use GSSAPI

If enabled, the driver uses the MIT Kerberos library for Kerberos authentication. The MIT Kerberos library must be installed on the same machine where the Presto driver and ODBC connector are installed.

If disabled, the driver uses the Windows native SSP interface for Kerberos authentication.

Use Existing Kerberos Credentials

Enabled when Use GSSAPI is checked. The driver will use existing Kerberos credentials.

If disabled, the driver generates and uses new Kerberos credentials based on the KinitType settings.

Kinit Type

Specifies how the driver generates Kerberos tickets.

Kinit with Password: The driver generates tickets using a Kerberos username and password.

Kinit with Keytab: The driver generates tickets using a Kerberos username and a keytab file.

Kerberos Username The Kerberos username used to generate tickets.
Keytab File The keytab file used to generate Kerberos tickets.
Kerberos Password The Kerberos password used to generate tickets.
Service Name The Kerberos service principal name of the Presto server. Default value: HTTP.

QlikView: Presto authentication properties

Authentication properties that can be configured
Property Description
Authentication Type Use no authentication or LDAP authentication.
Username User name for the Presto connection when using LDAP authentication.
Password Password for the Presto connection when using LDAP authentication.

Account properties

Credentials

Credentials are used to prove that a user is allowed to access the data in a connection.

There are two types of credentials that can be used when making a connection in Qlik Sense SaaS. If you leave the User defined credentials check box deselected, then only one set of credentials will be used for the connection. These credentials belong to the connection and will be used by anyone who can access it. For example, if the connection is in a shared space, every user in the space will be able to use these credentials. This one-to-one mapping is the default setting.

If you select User defined credentials, then every user who wants to access this connection will need to input their own credentials before selecting tables or loading data. These credentials belong to a user, not a connection. User defined credentials can be saved and used in multiple connections of the same connector type.

In the Data load editor, you can click the Primary key underneath the connection to edit your credentials. In the hub or Data manager, you can edit credentials by right-clicking on the connection and selecting Edit Credentials.

See which authentication type applies on each connector's page.

Account properties that can be configured
Account property Description
User defined credentials Select this check box if you want users that access this connection to have to input their own credentials. Deselect this check box if credentials can be shared with anyone who has access to this connection.
New credentials Drop-down menu item that appears if User defined credentials is selected.
Existing credentials Drop-down menu item that appears if User defined credentials is selected.
User User name for the connection.
Password Password for the connection.
Credentials name Name given to a set of user defined credentials.

Setting SSL options

SSL options that can be configured
Property Description Required

Windows only

Enable SSL Require SSL authentication on the connection the Presto server. No No
Use System Trust Store Use the SSL certificate located in the standard system location used for storing trusted certificates. This property can be selected only when SSL is enabled. No Yes
Full path of Trusted Certificates The full path to the SSL certificate if it is not stored in the standard system location. This property can be selected only when SSL is enabled. No Yes
Allow Self-signed Server Certificate Accept an SSL certificate from the server that is self-signed and not verified by a trusted authority. This property can be selected only when SSL is enabled. No No
Allow Common Name Host Name Mismatch Allow a mismatch between the SSL certificate's common name and the host name of the Presto server. This property can be selected only when SSL is enabled. No No

Miscellaneous properties

Miscellaneous properties and options that can be configured
Property Description
Query timeout Amount of time before a data load query times out. Can be set from 30 seconds to 65535 seconds. Default is 30 seconds.

Load optimization settings

Load properties that can be configured
Property Description Required
Max String Length

Maximum length of string fields. This can be set from 256 to 16384 characters. The default value is 4096. Setting this value close to the maximum length may improve load times, as it limits the need to allocate unnecessary resources. If a string is longer than the set value, it will be truncated, and the exceeding characters will not be loaded.

No

Advanced options

Information noteThis section is for advanced users who want to add their own custom connection parameters that are not displayed above.
Advanced options that can be configured
Property Description Required

Name

Name of the custom property. You can add additional properties by clicking the Plus sign icon.

No
Value

Value of the property.

No
Information noteWhen you connect to a Presto database with the Data load editor or the Edit Script dialog, Test Connection enables you to test the connection before you attempt to create it.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!