Il est recommandé de chiffrer le trafic réseau entre l'application Looker et votre base de données. Pour ce faire, consultez les options détaillées sur la page de documentation Sécurisation de l'accès à la base de données.
Installer la fonction définie par UDF;utilisateur hash_md5
Avant de configurer Looker pour qu'il fonctionne avec Teradata, vous devez installer la fonction définie par l'utilisateur (UDF) hash_md5 sur votre serveur Teradata. Vous trouverez des instructions pour installer la UDF;utilisateur sur cette page de téléchargements Teradata.
Installer le pilote JDBC Teradata
Si vous disposez d'une instance Looker (Original), vous devrez configurer un pilote Teradata avant de créer la connexion Looker. Ces instructions décrivent ce processus, en supposant l'utilisation d'un script de démarrage semblable aux exemples fournis sur la page GitHub looker-open-source.
Pour installer le pilote, vous devez obtenir deux fichiers Teradata, les inclure dans le processus de démarrage et ajouter une option pour indiquer à Looker d'accéder au pilote.
Suivez les étapes de la page de documentation Pilotes JDBC non empaquetés en utilisant les valeurs suivantes :
Pour créer la connexion entre Looker et votre base de données, procédez comme suit :
Dans la section Admin de Looker, sélectionnez Connexions, puis cliquez sur Ajouter une connexion.
Sélectionnez Teradata dans le menu déroulant Dialecte.
Saisissez les informations de connexion. La majorité des paramètres sont communs à la plupart des dialectes de base de données. Pour en savoir plus, consultez la page de documentation Connecter Looker à votre base de données.
Pour vérifier que la connexion a réussi, cliquez sur Tester. Pour obtenir des informations sur le dépannage, consultez la page de documentation Tester la connectivité à la base de données.
Pour enregistrer ces paramètres, cliquez sur Connecter.
Compatibilité avec les fonctionnalités
Pour que Looker prenne en charge certaines fonctionnalités, votre dialecte de base de données doit également les prendre en charge.
Teradata est compatible avec les fonctionnalités suivantes à partir de Looker 25.14 :
Fonctionnalité
Compatibilité
Niveau d'assistance
Compatible
Looker (Google Cloud Core)
Oui
Agrégations symétriques
Oui
Tables dérivées
Oui
Tables dérivées persistantes basées sur SQL
Oui
Tables dérivées natives persistantes
Oui
Vues stables
Oui
Arrêt des requêtes
Oui
Tableaux croisés dynamiques basés sur SQL
Oui
Fuseaux horaires
Non
SSL
Non
Sous-totaux
Non
Paramètres JDBC supplémentaires
Oui
Sensibilité à la casse
Oui
Type de lieu
Oui
Type de liste
Non
Centile
Non
Centile distinct
Non
Afficher les processus SQL Runner
Non
Décrire la table dans SQL Runner
Oui
Afficher les index dans SQL Runner
Oui
SQL Runner Select 10
Oui
Nombre d'exécutions SQL Runner
Oui
Explication SQL
Oui
Identifiants OAuth 2.0
Non
Commentaires contextuels
Oui
Regroupement de connexions
Non
Résumés HLL
Non
Reconnaissance d'agrégats
Oui
Augmentation de tables PDT
Non
Millisecondes
Oui
Microsecondes
Oui
Vues matérialisées
Non
Mesures de variation par période
Non
Nombre approximatif d'éléments distincts
Non
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/05 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/05 (UTC)."],[],[],null,["# Teradata\n\n| **Note:** See the [Teradata end-user license agreement](/looker/docs/db-teradata-eula).\n\nThe procedures that are required to connect Looker to a Teradata database depend on your Looker deployment:\n\n- For Looker-hosted, Looker (original) instances, contact [Looker Support](/looker/docs/best-practices/looker-support-details) if you want to enable the Teradata driver.\n\n- For [customer-hosted](/looker/docs/glossary#customer-hosted) Looker (original) instances, perform the following procedures:\n\n 1. [Install the `hash_md5` user-defined function (UDF) on your Teradata server](#install-udf).\n 2. [Install the Teradata JDBC driver](#install-jdbc-driver).\n 3. [Create the Looker connection to your database](#creating-the-connection-to-your-database).\n- For [Looker (Google Cloud core)](/looker/docs/looker-core-overview) instances, perform the following procedures:\n\n 1. [Install the `hash_md5` user-defined function (UDF) on your Teradata server](#install-udf).\n 2. [Create the Looker connection to your database](#creating-the-connection-to-your-database).\n\nEncrypting network traffic\n--------------------------\n\nIt is a best practice to encrypt network traffic between the Looker application and your database. Consider one of the options described on the [Enabling secure database access](/looker/docs/enabling-secure-db-access) documentation page.\n\nInstalling the `hash_md5` user-defined function (UDF)\n-----------------------------------------------------\n\nBefore configuring Looker to work with Teradata, you must install the `hash_md5` user-defined function (UDF) on your Teradata server. You can find instructions for installing the UDF on this [Teradata downloads](https://downloads.teradata.com/download/extensibility/md5-message-digest-udf) page.\n\nInstalling the Teradata JDBC driver\n-----------------------------------\n\nIf you have a Looker (original) instance, you will need to configure a Teradata driver before creating the Looker connection. These instructions describe that process, assuming use of a startup script that is similar to the examples that are provided on the [looker-open-source GitHub page](https://github.com/looker-open-source/customer-scripts/tree/master/startup_scripts).\n| **Note:** If you have a [Looker (Google Cloud core)](/looker/docs/looker-core-overview) instance, you can create a connection to a Teradata database without configuring a Teradata driver. After you [install the `hash_md5` user-defined function (UDF) on your Teradata server](#install-udf), you can go right to the [Creating the Looker connection to your database](#creating-the-connection-to-your-database) procedure on this page.\n\nTo install the driver, you will need to acquire two Teradata files, include them as part of the startup process, and add an option to tell Looker to access the driver.\n\nFollow the steps on the [Unpackaged JDBC drivers](/looker/docs/unpackaged-jdbc-drivers) documentation page using the following values:\n\n**driver symbol** : `teradata`\n\n**driver entry**: \n\n - name: teradata\n dir_name: teradata\n module_path: com.teradata.jdbc.TeraDriver\n\nFor the [step to put the driver in your dialect's directory](/looker/docs/unpackaged-jdbc-drivers#driver_directory), the paths to these files will look like this:\n\n- `looker/custom_jdbc_drivers/teradata/tdgssconfig.jar`\n- `looker/custom_jdbc_drivers/teradata/terajdbc4.jar`\n\nCreating the Looker connection to your database\n-----------------------------------------------\n\nTo create the connection from Looker to your database, follow these steps:\n\n1. In the **Admin** section of Looker, select **Connections** , and then click **Add Connection**.\n2. Select **Teradata** from the **Dialect** drop-down menu.\n3. Fill out the connection details. The majority of the settings are common to most database dialects. See the [Connecting Looker to your database](/looker/docs/connecting-to-your-db) documentation page for information.\n4. To verify that the connection is successful, click **Test** . See the [Testing database connectivity](/looker/docs/testing-db-connectivity) documentation page for troubleshooting information.\n5. To save these settings, click **Connect**.\n\nFeature support\n---------------\n\nFor Looker to support some features, your database dialect must also support them.\n\nTeradata supports the following features as of Looker 25.14:"]]