Use DataAI ETL with Tableau

Execution model: the Accelerator visualizes DataAI results; Tableau does not execute Spark transformations. DataAI runs in customer Spark compute, and Tableau connects to customer-persisted outputs through Spark SQL or Databricks. No DataAI .taco connector is required.

1. Review the Accelerator

  1. Open DataAI_ETL_Accelerator.twbx in Tableau Desktop.
  2. Review the fictional embedded data without entering customer credentials.
  3. Inspect run trends, accepted/rejected totals, quality score, findings, field profiles, and analytical views.
  4. Do not publish the fictional workbook as a customer production dashboard.

2. Produce standardized outputs

TableauOutputBundle tableau = TableauOutputs.from(result);

tableau.dashboardMetrics().write()
    .format("delta")
    .mode(SaveMode.Append)
    .saveAsTable("analytics.dataai_dashboard_metrics");

Persist only the returned DataFrames the customer approves. For any analytical result use TableauFunctionOutputs.withRunMetadata(...). For matrix balancing use TableauFunctionOutputs.matrixBalance(...) to retain convergence, iteration count, and maximum error.

3. Connect and replace sample data

  1. Expose the governed tables through Spark Thrift Server or a Databricks SQL warehouse.
  2. In Tableau Desktop, connect with Spark SQL or Databricks using customer-approved authentication.
  3. Use Data > Replace Data Source to replace the sample dataai_dashboard_metrics source.
  4. Add dataai_pipeline_runs, dataai_quality_findings, and dataai_field_profiles as needed.
  5. Relate run tables to findings and profiles by run_id.
  6. Relate findings to source rows by record key only when record-level access is authorized.

4. Validate and publish

The Tableau adapter performs no automatic persistence, cache, collect, network connection, or Tableau publishing. Customer code chooses every output and write.

Usage is successful when: the sample source is fully replaced, output schemas match the contract, Tableau counts reconcile with Spark, and governed permissions apply at both the data and workbook layers.