Delta Lake Catalog#

Add a Delta Lake catalog to the cluster along with a Hive metastore for storing table metadata and MinIO object storage for storing table data.

Usage#

Module Uses Persistent Storage

This module uses named volumes to persist data. To delete these volumes, run:

minitrino remove --volumes --module ${module}

Provision the module:

minitrino provision -m delta-lake

Connect to the coordinator container’s Trino CLI:

minitrino exec -i 'trino-cli'

Confirm Delta Lake is reachable:

SHOW SCHEMAS FROM delta;

Create a table:

CREATE TABLE delta.minitrino.customer
WITH (
    location = 's3a://minitrino/minitrino_delta_lake/minitrino/'
)
AS SELECT * FROM tpch.tiny.customer;

This will create the table delta.minitrino.customer and a corresponding _delta_log directory in MinIO object storage.

Dependent Modules#

  • minio: Required for object storage.