Skip to main content

Tableau - Connecting to IOMETE

Overview

If you're using Tableau for dashboards and reporting, you can point it straight at your IOMETE data. There's no need to copy anything into a separate analytics database.

Two connection methods are available:

  • Spark SQL driver: Tableau's built-in Spark SQL connector (recommended)
  • CData Spark SQL connector: a third-party option from CData

Both use the Spark Thrift Server (Hive2 protocol) over HTTP transport, which is enabled by default on every IOMETE compute cluster.

Prerequisites

You'll need a few things in place before connecting Tableau to IOMETE:

Finding Connection Parameters

You don't need to assemble connection strings by hand. IOMETE generates them for each compute cluster.

  1. Open Compute from the sidebar.
  2. Click the cluster you want to connect.
  3. Select the Connections tab.
  4. Click the Tableau card.

You'll see two parameter tables, one for the Spark SQL Driver and one for Spark SQL by CData. Every value is pre-filled for your environment. Hover over any value and click the copy button to grab it.

Connecting Using the Spark SQL Driver

This is the simplest path because Tableau ships with a built-in Spark SQL connector. Nothing extra to install.

  1. Open Tableau and create a new workbook (or open an existing one).
  2. Click New Data Source.
Adding a new data source in Tableau | IOMETEAdding a new data source in Tableau | IOMETE
  1. Go to the Connectors tab and select Spark SQL.
Selecting Spark SQL from Tableau connectors | IOMETESelecting Spark SQL from Tableau connectors | IOMETE
  1. Fill in the Spark SQL connection dialog with these parameters:
ParameterValue
ConnectionSparkThriftServer (Spark 1.1 and later)
ServerYour IOMETE platform hostname (shown as HOST_NAME in the console)
Port443 for HTTPS or 80 for HTTP (shown as PORT in the console)
AuthenticationUsername and Password
UsernameYour IOMETE user ID
Password{personal access token}
TransportHTTP
HTTP Path/data-plane/\{namespace\}/lakehouse/\{compute-name\}
SSLCheck Require SSL if your platform uses HTTPS
Spark SQL driver connection parameters in IOMETE console | IOMETESpark SQL driver connection parameters in IOMETE console | IOMETE
Personal Access Token Required

The Password field takes a Personal Access Token, not your account password. Generate one under Settings > Access Tokens in the IOMETE console. See Creating a Personal Access Token.

HTTP Path Format

The HTTP Path includes lakehouse in the URL (e.g., /data-plane/default/lakehouse/my-compute). Copy it exactly as shown in the IOMETE console, including the leading /.

  1. Click Sign In.
  2. Once connected, your IOMETE database appears. Select a Schema to browse its tables.
Selecting a schema in Tableau after connecting to IOMETE | IOMETESelecting a schema in Tableau after connecting to IOMETE | IOMETE
  1. Drag tables into the canvas to begin building your reports and dashboards.
Connecting to IOMETE compute from Tableau | IOMETEConnecting to IOMETE compute from Tableau | IOMETE

Connecting Using the CData Spark SQL Connector

If you need the extra configuration options that CData offers, use this method instead. It requires a separate connector install.

  1. Install Tableau Desktop and the Spark SQL by CData connector.
  2. Open Tableau.
  3. Click To a server, then select Spark SQL by CData.
Selecting Spark SQL by CData connector in Tableau | IOMETESelecting Spark SQL by CData connector in Tableau | IOMETE
  1. Enter the following connection parameters.

General tab:

ParameterValue
ServerYour IOMETE platform hostname
Port443 for HTTPS or 80 for HTTP
Auth SchemePlain
UserYour IOMETE user ID
Password{personal access token}

Advanced tab:

ParameterValue
Transport ModeHTTP
HTTP Path/data-plane/\{namespace\}/lakehouse/\{compute-name\}
Use SSLTrue
CData Spark SQL connector parameters in IOMETE console | IOMETECData Spark SQL connector parameters in IOMETE console | IOMETE
Personal Access Token Required

The Password field takes a Personal Access Token, not your account password. See Creating a Personal Access Token.

  1. Click Connect.

Building a Dashboard

With the connection in place, you're ready to turn your IOMETE data into visualizations.

  1. Select a schema, drag tables into the canvas, then click Sheet 1 to open a new sheet.
Table data preview in Tableau | IOMETETable data preview in Tableau | IOMETE
  1. Right-click a dimension or measure and select Add to Sheet.
Adding a field to a Tableau sheet | IOMETEAdding a field to a Tableau sheet | IOMETE
  1. Drag additional fields into rows, columns, or filters to refine the report.
Adding gender dimension to the Tableau report | IOMETEAdding gender dimension to the Tableau report | IOMETE
Adding employee count to the report | IOMETEAdding employee count to the report | IOMETE
  1. Pick a visualization type and customize the layout to finish your dashboard.
Completed Tableau dashboard with IOMETE data | IOMETECompleted Tableau dashboard with IOMETE data | IOMETE

Next Steps