modellerUpdated 2026-05-25

LookML Emitter

Tessallite creates a generated LookML adapter project from a deployed semantic model. Data Studio direct connections do not use this export. Use it only when a separate Looker instance will execute a Git-backed LookML project.

Generate

In the web application, open Export and select LookML (.zip). Choose a deployed model and enter the connection name configured in the target Looker instance.

POST /api/v1/projects/{project_id}/models/{model_id}/export/lookml
{"connection": "tessallite_gateway"}

GET /api/v1/projects/{project_id}/models/{model_id}/snapshot-export

tessallite/scripts/tessallite-lookml-export \
  --snapshot-file exported-model.json \
  --project <project-id-or-slug> \
  --model <model-id-or-slug> \
  --out generated/lookml \
  --connection tessallite_gateway

Output contains table view files, an explore/model file, and manifest.lkml with model identity, deployed version, and drift hash. Generated views query public.<model_slug>__<table_alias>, exposed only when LOOKER_GATEWAY_ENABLED=true.

Check drift

Re-export after model changes and add --check. A non-zero exit means checked-in generated output no longer matches the Tessallite snapshot.

Limits

The emitter does not generate persistent derived tables, calculated or time-variant measures, arbitrary Liquid SQL, or composite primary keys. Hand edits are customer-owned drift.