Skip to content

Release notes 0.3.8

The 0.3.8 series. The newest release is 0.3.8.1. Entries are written for users; the full changelog has the technical detail.

0.3.8.1 (latest)

Released 2026-11-16.

Improved: a roll_out that finds everything done, and a re-registration that changes nothing, cost far fewer statements

  • 7 processes over 5 dates, all done: 124 to 47 statements, 12 s to 5 s, and no statement at all per skipped (process, date) pair. The calendar's cursor moves only when a date has something to compute. Stored rows, follow-up rows and results are identical.
  • Registering a process again with a view re-created from its original SQL is recognised as unchanged on a domain clock (64 to 53 statements). When a registration takes the full path, one INFO line says which field differs.
  • In the log, the "Updated view ... TIME_ID" lines of skipped dates no longer appear.
  • Fixed: a registration could, rarely, leave two rows for one process in the TimeManager catalog, so the process catalog listed the process twice. The duplicate write is now skipped.
  • Compatible with 0.3.8.0: stored values, follow-up rows and results are identical, and a 0.3.8.0 client keeps working on a store the new one has touched.

New

  • run_profile(call_id) works later in the session without the profile object; run_profile(call_id, flush=True) asks the database to write its query log first. Errors that fail by design are counted apart (N_EXPECTED_ERRORS).
  • upload_features(window_length='31 days') / set_process_options(pid, window_length=...) declare a deliberate window length: the sanity check reads it as intended.
  • An accepted finding keeps the severity it had; the report says when the acceptance is no longer needed.
  • open_session(agentic_features=False).

0.3.8.0

Released 2026-11-15.

Changed: what pip install tdfs4ds installs

  • A plain pip install tdfs4ds now installs the feature store and the app, without the assistant and its language-model packages. It installs in seconds on Python 3.10 to 3.13, where it used to fail on Python 3.13 and in some 3.11 environments ("Failed to build pandas").
  • For the assistant, LLM documentation, the vector index, the query optimizer and AgentOps: pip install tdfs4ds[agent]. pip install tdfs4ds[serve] still installs the same set as before.
  • An environment you upgrade keeps its packages: nothing breaks. On a fresh install, a call that needs the assistant says which command to run. In the app, those pages are greyed with the same command.
  • Python 3.10 or later is required.

New

  • tdfs4ds.read_dataset(name, as_of=...) reads a dataset at a business date, without creating a view or moving a TimeManager. tdfs4ds.dataset_sql(name, as_of=...) returns the SQL. A bare date means that business date in your calendar's zone.
  • open_session(data_domain=..., min_version=...) replaces the usual notebook header in one call.

Improved

  • A roll_out of processes with a FilterManager sends far fewer statements: on a trial system, 714 to 417 for 2 processes over 3 dates, and 110 to 41 when everything is already done.
  • import tdfs4ds takes about a third of the time it took (6.6 s to 2.2 s).

New: see and cut what the framework itself costs

  • tdfs4ds.profile() times one call by phase (statements, database time, Python time); tdfs4ds.run_profile(call_id, client=) adds the database's own figures and says whether the call is latency-bound (many small statements on a distant system) or work-bound (SQL, primary index, partitioning).
  • The store keeps the cost per call and phase (FS_CALL_PHASES, filled from DBQL by the existing harvest). tdfs4ds.framework_cost() reads it, and Performance > Framework cost in the app shows it: safety checks, framework steps and work, per process and per day.
  • tdfs4ds.register_framework_monitoring(data_domain=...) stores the cost as features, so it can be forecast.
  • tdfs4ds.install_agent_extra() installs tdfs4ds[agent] on request; launch_app and the configuration helpers offer it.

Improved: fewer statements, same results

  • A roll_out of 2 processes over 3 dates with 2 segments: 331 to 238 statements. An unchanged re-registration: 68 to 43. Stored rows and follow-up rows are identical.
  • The ingestion checks (row count, duplicate keys, NULL keys) are one statement; the skip decision of a date and its segments is one read.
  • Registering a view again unchanged is recognised and skipped (SKIP_UNCHANGED_REGISTRATION = False turns it off).

Optional speed settings (all off by default)

  • GROUP_BATCH_STATEMENTS = True sends the MERGEs of a batch in one request.
  • roll_out(..., max_workers=N) runs the independent processes of a date in parallel. It pays when they write different tables and the range has more than about 3 dates.
  • SERVER_SIDE_BATCH = 'auto' sends one CALL per batch to a procedure installed once with install_server_side_batch(); check_configuration() and the sanity check server_batch verify it.
  • Profile first: these help when the time is spent in round trips, not in the database's work.

Fixed

  • The sanity check no longer warns redundant_key_column on the recommended bucket pattern (the bucket column in the entity, the primary index on the rest of the key).
  • A re-registration that leaves out close_absent_entities now warns when it switches the option off.