Help Center/ AI DataLake/ Best Practices/ Connecting BI Tools to AI DataLake Spark for Data Analysis/ Connecting Tableau Desktop to AI DataLake Spark for Data Query and Analysis
Updated on 2026-11-06 GMT+08:00

Connecting Tableau Desktop to AI DataLake Spark for Data Query and Analysis

This section describes how to install Tableau Desktop, configure Huawei Cloud AI DataLake JDBC driver and Tableau connector, and connect Tableau Desktop to AI DataLake in Windows for data query and analysis.

Preparations

  • Environment requirements: Only Windows 10 and Windows 11 (64-bit) are supported.
  • Tools

    Tool

    Description

    Tableau Desktop

    Tableau client

    aidatalake-spark-jdbc-x.x.x.jar

    Huawei Cloud AI DataLake Spark JDBC driver

    aidatalake-spark-tableau-x.xx.zip

    Tableau AI DataLake Spark connector plug-in

Precautions

  • The connector path must be specified for Tableau Desktop using startup parameters. Otherwise, Tableau Desktop cannot identify the AI DataLake connector.
  • The JDBC driver must be placed in the Tableau Drivers directory.
  • Ensure that Huawei Cloud AI DataLake endpoint is accessible.

Step 1: Install Tableau Desktop

  1. Visit the page for downloading Tableau Desktop.
  2. Obtain the Tableau Desktop installation package.
  3. Double-click the installation program.
  4. Perform the following operations as prompted:

    • Accept the license agreement.
    • Select an installation type: typical or custom.
    • Set the installation directory. The default path is recommended.

Step 2: Configure the AI DataLake Spark JDBC Driver

  1. Click aidatalake-spark-jdbc-x.x.x.jar to obtain the JDBC driver.
  2. Locate the Tableau Desktop installation directory.

    The default path is C:\Program Files\Tableau\Tableau 2025.1.

  3. Return to the upper-level directory and go to the Drivers folder.
  4. Copy the JDBC driver JAR package to the Drivers directory.

Step 3: Configure the AI DataLake Tableau Connector

  1. Click aidatalake-tableau-x.x.x.zip to obtain the connector package.
  2. Extract the aidatalake-tableau-1.0.0 directory from the package.
  3. Place the above directory in any directory, for example, D:\tmp\Connectors.

Step 4: Configure the Tableau Desktop Startup Parameter

  • Method 1 (recommended): shortcut
    1. Right-click Tableau Desktop and select More...
    2. Add the startup parameter to the target:
      "C:\Program Files\Tableau\Tableau 2025.1\bin\tableau.exe" -DConnectPluginsPath="D:\tmp\Connectors"
      • If the path contains spaces, enclose it in double quotation marks.
      • There must be a space between the executable file path and the parameter.
    3. Click OK.
    4. Double-click Tableau Desktop to start it.
  • Method 2: command line
    tableau.exe -DConnectPluginsPath=D:\tmp\Connectors

Step 5: Create a AI DataLake Spark Connection

  1. Start Tableau Desktop.
  2. In the navigation pane on the left, choose To a Server > More.
  3. Search for aidatalake.

    Figure 1 Searching for aidatalake

  4. Select AIDataLake Spark JDBC by HuaweiCloud.
  5. Set connection parameters.

    Table 1 Parameters for connecting Tableau Desktop to AI DataLake

    Field

    Description

    Server

    Server address

    Format: {AIDataLake Spark Endpoint URL}/{ProjectID}

    Username

    AK and SK of the Huawei Cloud account

    For details about how to obtain the AK and SK, see AK/SK Obtaining.

    Password

    The following table lists the server parameters.
    Table 2 Server address parameters

    Parameter

    Description

    Example Value

    AIDataLake Spark Endpoint URL

    URL of the AI DataLake service

    An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. For the endpoints of all services, see Regions and Endpoints.

    https://aidatalake-test.cn-north-7.myhuaweicloud.com

    ProjectID

    AI DataLake project ID

    Hover the cursor over the account information in the upper right corner of the AI DataLake console, click My Credentials, and obtain the project ID.

    0b33ea2a7e******4c009bb05076d

    workspaceId

    AI DataLake workspace ID

    Log in to the AI DataLake console and find the target workspace ID on the workspace management page.

    spark

    lakeformationInstanceId

    LakeFormation instance ID

    For how to obtain the ID, see

    How Do I Obtain the ID of a LakeFormation Instance?

    ae6dd098-***-*****-c02***def36d

    endpointName

    Spark endpoint name of the AI DataLake service

    Log in to the AI DataLake console, choose Engine Endpoints > Spark, and find the target Spark endpoint name.

    spark-sql-test

    regionName

    Region name of AI DataLake

    cn-north-7

    catalogName

    Data catalog name

    • This parameter is mandatory when a LakeFormation catalog is used. Set it to the corresponding LakeFormation catalog name.

      When querying a LakeFormation catalog, ensure that there is a default database in the catalog.

    • If this parameter is not specified, an AI DataLake catalog is used. This parameter is not required when an AI DataLake catalog is used.

    For example, if a LakeFormation catalog named lfcatalog is used, the configuration is as follows: catalog=lfcatalog.

    ObsEndPoint

    OBS endpoint

    For how to obtain it, see Endpoints and Domain Names.

    -