User Guide Getting Started Help Center Documentation Community Training
Actian Avalanche and Vector

To use Looker with Actian Avalanche or Vector you will need to configure an Ingres driver. These instructions describe that process, assuming use of a startup script similar to the examples provided here.

You will need to acquire an Ingres driver JAR, include it as part of the startup process, and add an option to tell Looker to access it.

Installing the Driver

To install the Ingres driver:

  1. Move the driver JAR to a subdirectory. For example:

    # log in as the looker user
    cd ~/looker
    mkdir ~/looker/custom_jdbc_drivers
    mv ~/iijdbc.jar  ~/looker/custom_jdbc_drivers/iijdbc.jar
  2. Create a configuration file.

    Create a configuration file for the new driver, if one does not already exist in the ~/looker directory:

    vim ~/looker/custom_jdbc_config.yml

    In your configuration file, add the following:

    - name: ingres
      file_name: iijdbc.jar
      module_path: com.ingres.jdbc.IngresDriver
  3. Configure Looker to use the new driver.

    If you are already using a lookerstart.cfg file, add another startup option to the lookerstart.cfg file.

    If you are not using lookerstart.cfg, add the startup option to your startup script or create a new startup script.

    For example:

    vim lookerstart.cfg

    Then add the --use-custom-jdbc-config to the list of LOOKERARGS environment variables. Make sure to leave any other configs that are set there.

  4. Restart Looker

    ./looker restart

Connecting Looker to Actian Avalanche or Vector

Configure a database connection via the Looker interface. From the Admin section, select Connections then New Connection. See the Connecting Looker to Your Database documentation page for more information.

Click on Test These Settings to verify the connection is successful. The Testing Database Connectivity documentation page has troubleshooting information.

Enabling PDT Support

It is possible to enable persistent derived tables (PDTs) using the PDT Overrides column in the Connection Settings page.

To enable PDTs:

  1. Create a PDT user in your database for use with the scratch schema, for example “looker_scratch”.

  2. Create a group in your database such as “looker_pdt_group”.

  3. Add both the regular Looker user and the Looker PDT user to the new group.

  4. GRANT SELECT on all tables in the regular Looker user’s schema to the PDT user.

  5. In Looker’s Connection Settings page, in the PDT Overrides column, enter the PDT user information.

  6. The PDT user then runs a GRANT SELECT to the “looker_pdt_group” for every table it creates.

Feature Support

Looker’s ability to provide some features depends on whether the database dialect can support them.

In the current Looker release, Actian Avalance and Vector support the following Looker features: