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:
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
Create a configuration file.
Create a configuration file for the new driver, if one does not already exist in the
In your configuration file, add the following:
- name: ingres file_name: iijdbc.jar module_path: com.ingres.jdbc.IngresDriver
Configure Looker to use the new driver.
If you are already using a
lookerstart.cfgfile, add another startup option to the
If you are not using
lookerstart.cfg, add the startup option to your startup script or create a new startup script.
Then add the
--use-custom-jdbc-configto the list of
LOOKERARGSenvironment variables. Make sure to leave any other configs that are set there.
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:
Create a PDT user in your database for use with the scratch schema, for example “looker_scratch”.
Create a group in your database such as “looker_pdt_group”.
Add both the regular Looker user and the Looker PDT user to the new group.
GRANT SELECT on all tables in the regular Looker user’s schema to the PDT user.
In Looker’s Connection Settings page, in the PDT Overrides column, enter the PDT user information.
The PDT user then runs a GRANT SELECT to the “looker_pdt_group” for every table it creates.
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: