home User Guide Getting Started Help Center Documentation Community Training Certification
menu
close
settings
Looker keyboard_arrow_down
language keyboard_arrow_down
English
Français
Deutsch
日本語
search
print
SAP HANA

Create the Looker User

Create a Looker database user with a secure password.

CREATE USER LOOKER PASSWORD

Grant Permissions

Grant read permissions on the schema(s) that you would like to use in Looker.

GRANT SELECT ON SCHEMA TO LOOKER

Set Up a PDT Schema

If using PDTs, create a scratch schema for PDTs to be written into.

CREATE SCHEMA LOOKER_SCRATCH OWNED BY LOOKER

Configuring a Connection

To connect a SAP HANA database to Looker:

  1. In the Admin section of Looker, navigate to the Connections page and click New Connection. Looker displays this page:

  1. Fill in the fields as follows:

    • Name: The name of the connection. This is how you will refer to the connection in LookML projects.
    • Dialect: SAP HANA.
    • Port: The database port. The default port is 30015.
    • Host: Hostname.
    • Database: The name of your database.
    • Username: The database username.
    • Password: The user password.
    • Schema: The default schema to use when none is specified. Entering a schema is optional.
    • Persistent Derived Tables: Check this box to enable persistent derived tables.
    • Temp Database: Schema to use for PDTs.
    • Additional Params: Any additional SAP HANA JDBC connection properties.
    • PDT and Datagroup Maintenance Schedule: A cron expression that indicates when Looker should check datagroups and persistent derived tables. Read more about this setting in our PDT and Datagroup Maintenance Schedule documentation.
    • SSL: Check to enable SSL.
    • Verify SSL: Check to enforce strict hostname verification.
    • Max Connections: The default is 25.
    • Connection Pool Timeout: The default is 120 seconds.
    • SQL Runner Precache: To cause SQL Runner not to preload table information and to load table information only when a table is selected, uncheck this option. Read more about this setting in our SQL Runner Precache documentation.
    • Database Time Zone: Specify the time zone used in the database. Leave this field blank if you do not want time zone conversion. See the Using Time Zone Settings documentation page for more information.
  2. Click Test These Settings to verify a connection.

    If you have any issues, check out our Testing Connections documentation.

  3. Click Add Connection to save these settings.

  4. Test the connection in SQL Runner. Navigate to SQL Runner, select your connection and schema, and then check if you can see your database tables.

Feature Support

For Looker to support some features, your database dialect must also support them.

In Looker 21.0, SAP HANA supports the following Looker features:

Next Steps

After completing the database connection, configure authentication options.

Top