Skip to content

Panels

One subsection per entry of the rail, with its tabs. Each says what the panel shows, what it can write, and whether it follows the valid-time banner. Where to find the entries and who sees them: The admin app.

Writing actions

Most panels only read. The actions that write are marked Writes below: documentation Edit and Protect, Attach and Detach, Capture now, dataset Remove, Maintenance runs, query-optimizer Approve and Migration run. Each one shows what it will do before it does it, or runs a dry run first.

Ask

Chatbot

The consumer agent in a chat window: it answers in business terms about features, datasets, definitions, freshness, lineage and formulas, and can build a dataset from the conversation. Answers show the sources used and, in the Admin profile, the agent trace and the context graph. See Consumer agent.

  • Writes: only when you ask it to build a dataset (it registers and documents it).
  • Banner: follows the date as the default valid time of a question that names no date. A date typed in the question wins.

Find & understand

Feature catalog

Every feature with its entity, data domain, producing process, description and, on demand, the process SQL chain with colour-coded references, its versions and a diff between them. Filter by data domain, entity, process or text. Download exports the catalog as XLSX or HTML (see Export the feature catalog).

  • Writes: nothing, except Capture now in a process detail, which stores the current SQL chain as a new version when it changed.
  • Banner: follows the date, process detail and exports included. At a past date the stored SQL is the one in force then.

Documentation

Three tabs.

Objects

All documented objects with filters (kind, documentation status, index status, data domain, text). Click a row to read its documentation, status and provenance (generated, imported, written by hand, propagated). Edit writes documentation by hand; Protect and Release keep or free a part against regeneration; Document selected runs the LLM on the selection. Source tables and views can be attached or detached from here.

  • Writes: Edit, Protect, Release, Document selected, Attach, Detach.
  • Banner: shows the current state.

Coverage

What is documented, partial or missing, and the state of the vector index. Details below. Writes: Document missing and Update vector index. Banner: current state.

Attached

Views and tables declared inside the feature store without being processes or datasets: a view that joins a dataset with a source table, a table brought in by hand. Suggestions, an attach preview (dry run), detach, a check of what changed since, and a cancellable sample read gated by an EXPLAIN estimate. See Writing documentation by hand. Writes: Attach, Detach, refresh. Banner: current state.

Coverage and objects in detail

The Documentation entry has three tabs: Objects, Coverage and Attached. This part covers Coverage and the Objects list.

Objects counted:

Kind Complete when
Process its view has a description and every feature column has one
Feature its column of the process view has a description
Dataset it has a description and the five sections (OVERVIEW, ENTITY, FEATURE_THEMES, BUSINESS_QUESTIONS, INTENDED_AUDIENCE)
Intermediate view it has a description (views between sources and process views, from the lineage graph)
Source table it has a description. tdfs4ds never generates these: write them in Objects › Edit documentation, with tdfs4ds.set_object_documentation, or load a data dictionary with upload_business_dictionary_objects (see Writing documentation by hand)

An object with some documentation but not all of it is partial; a blank description counts as missing. The feature store's own tables (FS_T_*, *_HIDDEN) are not counted. Lineage nodes that are not objects of the database (tokens the lineage builder stored as names, such as APPLY) are left out and listed. Documentation of objects the store no longer has is listed as well.

Vector index status, per documented row:

  • Chroma: exact. The expected documents are built as build_vector_index builds them, then compared with what the collection stores: indexed, stale (text, metadata or embedding model changed) or not indexed. Ids stored but no longer documented are counted as orphans.
  • Teradata Vector Store: inferred. The service exposes no reliable per-row membership (its embeddings are keyed by a row position recomputed on refresh). A row is indexed (inferred) when its collection is ready and the row was documented before the collection's last update, and pending when it was documented after. A missing, failed or building collection is shown as such.

An object takes the worst status of its rows.

Coverage shows, per kind, documented / partial / missing with the index issues, one line per collection (status, last update), and the lists of gaps. A gap opens the object in Objects. Export gaps downloads them as CSV.

Documentation older than what it describes lists documented objects whose documentation was written before:

  • their own view was replaced (REPLACE VIEW, read from DBC.TablesV.LastAlterTimeStamp);
  • a view they read, directly or through other views, was replaced (TimeManager and FilterManager views are left out: they are replaced at every step by design);
  • for a dataset, the documentation of one of its processes changed (a dataset's documentation is propagated from its processes).

The oldest documented part counts: a feature description written before the view was replaced is out of date even if the object's description was edited later. A REPLACE VIEW with the same text counts too, since only the date is compared. Source tables are not checked (their date also moves on operations that do not change what they mean), nor are other stores' objects (their documentation date is not read). Regenerate with tdfs4ds.rebuild_documentation(objects=[...]); documentation written by hand or imported is kept, so review that yourself.

Objects lists every object with filters (kind, documentation status, index status, data domain, text). Clicking a row shows its documentation as in the Lineage panel, with its status.

Actions, streamed with a live log:

  • Document missing (Coverage) or Document selected (Objects): documents each object (a process with document_process_incremental, a dataset with document_dataset_incremental, an intermediate view as rebuild_documentation does; source tables are skipped), then updates the vector index. A process is documented once even when several of its features are selected.
  • Update vector index: build_vector_index(force_rebuild=False). On Chroma it embeds only missing or changed rows.

Impact (object menu)

Click the name of a process, dataset, view or table anywhere in the app and choose Impact. A drawer opens on the right of the current page (it is not a rail entry). It needs the database; the Data engineer, Data scientist and Admin profiles see it. It reads the catalogs, the lineage graph and the SQL of the readers, and applies nothing: there is no apply button.

Mode For What you give
What depends on it all four kinds nothing: the readers of the object, verdict depends
Proposed SQL process, view the SELECT, prefilled with the current one, which you edit
Dataset change dataset the features to remove, a join type, a time mode

Study the impact runs tdfs4ds.impact_of as a job shown in the status bar (it can take a minute on a large store). The banner date, when set, is the date the catalogs and the lineage graph are read at.

The result groups the dependents by kind (processes, datasets, attached views, views, managers, tables). Each carries a verdict chip: breaks (red), values change (orange), unaffected (green), not verifiable (grey) and depends (blue). Each name is a link, so you can open the dependent. Under the list, the calls to make afterwards are shown as copyable text, with the same study written as a tdfs4ds.impact_of(...) call. An unknown object or a bad argument is explained in the drawer. See Impact analysis.

Lineage

The persisted dependency graph (FS_LINEAGE_GRAPH). The default Flow layout reads left to right (sources, intermediate views, processes, datasets), zooms and pans, highlights an object's whole upstream and downstream path on click, and shows its documentation and DDL below. Search by name, hide source tables and managers, or show processes and datasets only. TimeManager and FilterManager objects are drawn as drivers (dashed links). Datasets missing from the graph are named, with a button to add them.

  • Writes: the add-datasets button records their edges. Nothing else.
  • Banner: follows the date (the graph as it was then).

Overview

One self-contained interactive report of the store, exportable as a single HTML file: inventory tree with entity keys tagged PI or P, remarkable facts, storage treemap, orphans, run history timeline and calendar, freshness alerts, lineage counts, time drivers and consistency findings. A window selector bounds the run history. Build storage counts reads the sizes; Scan storage for orphans reads every storage table once. The counting rules follow below.

  • Writes: nothing. Findings name the command that fixes them.
  • Banner: follows the date for the catalogs. Table existence and physical counts are read now.

Counts, valid time and orphans in detail

What is counted as a feature. A feature is the triplet (data domain, entity, feature name). The same name registered under two entities, or in two data domains, is two features. The Overview, the Store map and the consumer agent all count features this way.

The Documentation coverage card is the exception: it is labelled Features (process outputs). It counts one row per name a current process lists, because documentation is stored on the process view's columns. A line under that card reconciles it with the catalog, in the form <n> in the catalog · <m> without a current producer · <k> listed by several processes.

Catalog valid time. The catalogs are valid-time tables, so a count is only meaningful at a given instant.

  • The Overview and the Store map each have a Catalog valid time (UTC) input. Blank means the current valid time. A date-time reads the catalogs as they were at that instant (primary store only).
  • The time used is printed next to the counts.
  • Whether a table or view exists, and the physical row counts, are always read from the database as it is now.

Entity keys. In the Overview's inventory tree, each entity column is tagged PI when it is in the primary index of the entity's storage tables and P when the tables are partitioned on it; an unmarked column is neither. PI* / P* means only some of the entity's tables agree (the tooltip says how many).

Consistency & orphans. This Overview section lists, with the command that fixes each finding (nothing on the page writes):

  • Features
    • registered with no current producer;
    • listed by several processes;
    • retired from the catalog;
    • whose storage table is missing.
  • Processes
    • whose view is gone;
    • whose features are not registered (declared, never run);
    • that never ran;
    • whose features no dataset reads.
  • Storage tables: FS_T_* tables that no catalog row points to, or that only retired features point to.
  • Datasets: those that read features the catalog no longer has, or whose view is gone.

A line at the top reconciles every feature number shown by the panels.

Scan storage for orphans. This button reads every storage table once (FEATURE_ID, COUNT(*), all versions and at the valid time). It adds two kinds of finding:

  • FEATURE_IDs stored without a catalog row, either known in the catalog history or never registered;
  • registered features that have no value at that valid time.

Run it when convenient: on a large store it reads every storage table. Its result also adds orphan badges to the Store map's table cards. The Store map lists Unreferenced storage tables in its data plane.

Process counts. A process is a distinct PROCESS_ID; every panel and the consumer agent count them that way (store_consistency.catalog_counts), with the same notes (never run, not registered).

Time drivers. This Overview section lists, per process, the TimeManager it declares and the one its view reads (from the lineage graph), with a status (OK, UNDECLARED, MISMATCH, DECLARED_UNUSED, NONE, UNKNOWN), the manager's current date and the last business date the process computed, and the synchronisation groups: one manager view, soft clones, hard clones, independent. See TimeManager. The Store map shows the same section, between its metadata and data planes; at a past catalog date it reads the lineage at that date and the managers' current cursors, and says so.

Datasets missing from the lineage graph. A registered dataset whose view is not in FS_LINEAGE_GRAPH is reported (dataset_not_in_lineage) with the rebuild_lineage_graph(objects=[...]) call that adds it. Every path that builds a dataset records its lineage, restore_dataset_catalog records it for the datasets it registers or repairs, and drop_dataset closes the dropped dataset's edges (their history stays, for the lineage at a past date).

Defective datasets (since 0.3.3.19). In the Dataset builder's Existing datasets list, a dataset whose sample fails is marked Defective, with a short cause and the database's whole message:

  • the dataset view no longer exists (only its catalog entry remains): the view was dropped and the catalog still lists it;
  • an object it reads no longer exists;
  • access refused on an object it reads;
  • the view no longer compiles;
  • the query runs out of spool.

Check all marks them for the whole list without reading data: one DBC.TablesV read finds the dropped views, then EXPLAIN SELECT * FROM each remaining dataset.

Remove from catalog (every profile except Business analyst, primary store only) first shows what goes: the catalog, entity, feature, build and window rows (closed in valid time, history kept), the lineage edges, the business documentation rows with their provenance, and the vector-index entries. The view itself is kept unless Also drop the view is ticked; when the view is already gone, only the catalog entry is removed. The same in Python:

tdfs4ds.remove_dataset("DB_LAB.DS_CUSTOMER")                  # dry run: what would go
tdfs4ds.remove_dataset("DB_LAB.DS_CUSTOMER", dry_run=False)   # view kept
tdfs4ds.remove_dataset("DS_CUSTOMER", dry_run=False, drop_view=True)

drop_dataset(dataset_id) still removes the catalog rows only.

Lineage panel. The default Flow layout reads left to right (sources, intermediate views, processes, datasets), zooms and pans, highlights an object's whole upstream and downstream path on click and shows its documentation and DDL below, searches objects by name, and can hide source tables and managers or show processes and datasets only. TimeManager and FilterManager objects are drawn as drivers (dashed links). The Sankey diagram, unreadable on large workflows, is no longer offered there (plot_lineage_sankey stays available in Python).

Build

Dataset builder

Pick an entity, features and process versions, lags and leads, a join type and a kind: current snapshot, as of a date, following a TimeManager, or a history window. The page checks the name, shows the column names and the Python code (Show Python), samples the result without creating it, and creates the dataset (registered, documented, lineage recorded). Existing datasets lists the datasets of the entity with their kind and marks defective ones.

  • Writes: Create, and Remove on an existing dataset (it shows what goes first; the view stays unless you tick Also drop the view).
  • Banner: the builder always builds now. The snapshot, as-of or history choice is the dataset's own data time, a different thing from the banner date.

Performance

Query optimization

Score the EXPLAIN plan of a registered process view and propose rewrites, checked for compilation and for lost logic. The report shows the current and optimized SQL side by side. Writes: Approve replaces the process view with the optimized one and records the new SQL version. Banner: current state.

Benchmark

Measures the serving latency and throughput of a dataset view (single key warm and cold, batches, concurrency, time travel, DBQL server time). Progress streams per phase and the result is one HTML report. It reads only. Banner: current state.

Run & monitor

Runs

History

Every run of every process (the follow-up table): status, start and end, valid time, applied filter and, when DBQL is readable, CPU and I/O per run. The detail view lists the segments of one process. Writes: nothing. Banner: follows the date (runs started before it).

Parallel run plan

Pick datasets or processes, build the wave plan (what runs in parallel, what in sequence, which write conflicts to serialise, which managers could be unified) and download a standalone Python script that runs it. Writes: nothing; the script is yours to run. Banner: current state.

Health check

The workflow assessment and the sanity checks: entity keys, run order, point-in-time leakage, segments, SQL drift, skew, partitioning, dependencies and the lineage network. An executive table shows one cell per process and area. Results export as HTML, Markdown or CSV. See Assess workflow health. Writes: nothing; each finding names its fix. Banner: current state.

Govern

Store map

Every object of the store, for architects and DBAs. Details below.

  • Writes: nothing.
  • Banner: follows the date for the catalogs. Table existence and physical counts are read now.

The Store map shows every object of the feature store, for architects and DBAs, in two planes.

  • Metadata plane: the catalogs that describe, govern and drive the data. They are grouped as: feature catalog; process catalog; run history and run drivers (the FilterManager / TimeManager objects the processes use); dataset catalog; business dictionary and documentation; lineage graph. Each hidden table (T) is shown with the public view (V) it is read through, with its row count and perm size.
  • Data plane: the storage tables FS_T_*, grouped by entity (the key column set). There is one table per data domain, entity and value type. Each entity group shows three lanes:
    • the process views that write its tables;
    • the tables themselves;
    • the datasets that read them.

Each table card shows:

  • the number of features and the number of rows (with a bar relative to the largest table);
  • the value type, perm size and AMP skew (1 − avg/max of per-AMP perm);
  • the primary index and the partitioning expression;
  • its companion FS_V_* view;
  • which processes write it and which datasets read it.

A table listed in the feature catalog but absent from the database is flagged TABLE MISSING.

Row counts come from the table-level statistics by default. This is cheap, but the count is as of the last collection and current and history rows are counted together. Count rows exactly runs COUNT(*) in CURRENT and NONSEQUENCED VALIDTIME, one query per 25 tables, and shows current and history separately.

Rows per feature on a table card plots its rows per feature (current and history, one bar per feature and process version). A FEATURE_ID that is not in the catalog for that table is shown in red. Export HTML downloads the map as one standalone file.

Migration

Promote processes, datasets or features from a distant (lab) store into this one: choose the source, build a read-only plan, approve each conflict (skip or replace; replace is blocked when a downstream consumer would lose a feature), then run in stages with live progress. It can also download the migration script. See From prototype to production.

  • Writes: the run. The plan and the report do not.
  • Banner: current state.

Remove objects

Choose processes, datasets or features; the page plans the removal in the right order, shows the dependents that block it, and gives a dry run and a script. It never executes a removal itself: you run the script. See Inspect & monitor. Writes: nothing from the page. Banner: current state.

Maintenance

Rebuild the lineage graph, the documentation and the vector index, one at a time or chained; check or add storage statistics; capture process SQL versions; check or restore the dataset catalog; convert datasets to the grouped form. Progress streams to a live log. See Maintain a workflow.

  • Writes: every run. Most have a check mode that changes nothing.
  • Banner: current state.

Settings

Parameters

Live controls: the store and read-only stores, instruct and embedding models, vector store, proxy, MCP, and the configuration check, which streams one row per check. Applying a change resets the agent. Writes: the session settings (not your .env). Banner: current state.

Assistant settings

Skills

Plugin skills from TDFS4DS_SKILLS_FOLDER: list, import a SKILL.md, export. The app imports Markdown only; a skill with a skill.py must be installed in the folder by an administrator. See Consumer agent.

Evaluation

Generate scenarios from the store, run them against the agent, and read the report (faithfulness, completeness, relevance, robustness, efficiency per skill and per turn). Scenarios import and export as JSON.

Help

tdfs4ds guide

This documentation, served by the app itself for the installed version.