What's new¶
The current series is 0.3.8 (latest release 0.3.8.1, 2026-11-16). Since 0.3.8.0, pip install tdfs4ds is the
feature store and the app; the assistant and its language-model packages are pip install tdfs4ds[agent]. This page presents the main capabilities in
user terms and links to the pages that explain them. For each release, see the release notes;
for the technical log, see the full changelog.
To make a scheduled script fail early on an old installation:
Scheduling and the clock¶
A calendar that works out its own dates. A TimeManager can carry the rule that produced its dates (monthly on a day or on the last day, weekly, daily, every N hours), with a time zone and a due time that says when the data for a date has landed. The business date stays the valid time of the values.
import tdfs4ds
from tdfs4ds import Calendar
from tdfs4ds.utils.time_management import TimeManager
rule = Calendar.monthly(day='last', due='+3d 06:00')
tm = TimeManager('SALES_CLOCK', 'MY_STORE', calendar=rule, start='2024-01-31', until='now')
tdfs4ds.set_domain_time_manager(tm)
One call to schedule. refresh_domain adds the steps that are due and rolls out only those. When the clock is up to
date it runs nothing, so you can schedule it more often than the rule. A long gap is refused with an estimate, and you
choose between catching up on every date or only the latest.
res = tdfs4ds.refresh_domain('SALES', until='now')
print(res['status'], res['statuses']) # {business date: {process_id: status}}
Change the frequency without touching process SQL. tdfs4ds.change_domain_calendar('SALES', Calendar.weekly('MON'),
dry_run=True) lists the processes whose own SQL assumes the old frequency, and the replay to run afterwards. Processes
that read their period through the clock's previous-step view (tm.enable_previous()) follow the new calendar with no
edit.
roll_out now returns the status of every process at every date, and tdfs4ds.domain_clock_status('SALES') shows the
rule, the cursor, the steps missing and the last date each process completed.
See Managing time with the domain clock and Manage the clock, end to end.
One clock per data domain (0.3.6) with automatic soft clones, and roll_out(data_domain=...) or run([...]) over a
whole domain at one time: Managing time with the domain clock and
Keep the TimeManagers under control.
Operate and govern¶
Study the impact of a change before you make it. tdfs4ds.impact_of lists what depends on a process, dataset, view
or table, and what a proposed SQL or dataset change would break or change. It is read-only and ends with the ordered
calls to apply the change.
See Study the impact of a change.
Sanity checks in one call. tdfs4ds.sanity_check(...) runs the checks and writes the report. Recent additions check
calendar rules and windows written by hand against the clock, interrupted or stuck runs, and whether run() and
roll_out() can still refresh each process. See Sanity checks and
Assess workflow health.
Guarded removal. Removing a process, feature, dataset or whole data domain is planned first, refuses when something depends on the object, and runs in far fewer statements. See Maintain a workflow and Lifecycles.
Feature properties. Declare a range, allowed values, whether NULL is allowed and whether a feature is sensitive, then
check on demand. tdfs4ds never filters or rewrites a value, and run() never checks properties. See
Feature properties.
Interrupted runs. A stopped run is recorded as failed, and tdfs4ds.close_interrupted_runs() closes rows left
RUNNING. See Operate in production.
The admin app¶
- Profiles (Admin, Data engineer, Data scientist, Analyst) group the entries by task; tabs reduce the rail from 21 entries to 16.
- A login gate (
TDFS4DS_SERVE_AUTH=database) lets people sign in with their own database credentials, maps database roles to profiles, expires sessions and writes an audit log. It is off by default. - Home, search and object links: a landing page per profile, header search (press
/), and a menu on every object name (catalog, lineage, documentation, runs, impact). - Health and capabilities: the app checks the database and the configuration, and shows what the configuration cannot do as disabled controls with the reason.
See The admin app, By profile and Panels.
The consumer agent¶
- Source data: ask about source or raw data and the agent describes documented tables and views outside the feature store in full, then lists the features and datasets already computed from them.
- Better follow-ups: it asks which entity you mean when a feature exists under several, and stays on the feature in focus after a pronoun.
- Evaluation: the agent evaluation generates chart, value, data-query and source-data questions, knows the store's
real names, and scores efficiency by what a turn cost.
judge_model=selects another model for the judge.
See Consumer agent and AI capabilities.
Performance¶
Fixed costs per call went down: internal readers use plain SQL instead of teradataml DataFrames, documentation tracking is
written in batches, object definitions are read once per upload_features call, and a roll_out with nothing to compute
stops early (a skipped roll-out went from 446 to 88 statements). tdfs4ds.count_statements() shows how many statements a
block issues and where they come from.
Skills and modernization¶
Skills fs-modernize and fs-modernize-verify help bring a project that grew around tdfs4ds back onto its API, and
tdfs4ds.check_api_usage(paths) reports calls in .py files and notebooks that no longer match. See
Agent skills, fs-modernize and
fs-modernize-verify.
Earlier: 0.3.6¶
- A clock per data domain, automatic soft clones, and
run()over a list or a domain at one time. tdfs4ds.sanity_check, the first store wins when several stores define a feature (tdfs4ds.store_conflicts()), migration that names who runs the processes and lists every GRANT, and a (?) button in the app that shows the code behind each page.- AgentOps: find and remove a deployed agent, and idle-session handling. See Teradata AI Studio (AgentOps).
- The documentation ships with the package and the app shows it.
Earlier: 0.3.5¶
- Valid time from the source:
upload_features(valid_time_column=...)gives each value the valid time of its row, so one run writes a whole history. See upload_features. - Attached objects:
tdfs4ds.attach_objectsbrings views and tables you already have into the feature store's lineage and documentation. - Value types: one VARCHAR type per process and character set, changes compared by whether values fit, and unsupported types (CLOB, BLOB, JSON, XML) refused at registration.
tdfs4ds.open_session(...)loads the configuration, signs in and connects in one call.- Datasets from feature names alone: a version is needed only for a feature several processes compute. See Datasets.
Earlier series¶
The release notes cover every series back to 0.2.9: 0.3.4 (relocation, exposed views), 0.3.3 (plotting, workflow assessment, guarded removal), 0.3.2 (hand-written documentation), 0.3.1 (consumer agent, lineage, vector stores, migration, AgentOps), 0.3.0 and 0.2.9.