Indexing Talend Projects
Read Talend jobs, joblets, contexts and connections into the ledger with column lineage, document them, and assess a migration — on main, not yet in a release.
On
main, not yet in a release (build from source). Everything on this page is in the EKOS repository'smainbranch after v1.6.1 (RFC 0262–0265). Buildekosfrommainto use it.
Talend Open Studio was retired in January 2024, and the first question about an estate built with it is "what do these jobs actually do?". EKOS reads a Talend project deterministically, with no model call, and puts every job, component, link, context, connection and column lineage in the ledger with file-and-line evidence.
Index a project
A Talend project is a directory holding talend.project. Put it under a source or an observe path and run the pipeline:
ekos build && ekos recover && ekos resolve && ekos compile && ekos commit
# recover prints: Talend: N project(s), J job(s), C component(s), D data component(s), X% mapped, F of Q queries folded, 0 model calls
An items-export .zip is read in place, without unpacking. Studio's generated poms/, temp/ and target/ folders are skipped.
What is read
| Talend | In the ledger |
|---|---|
| jobs (every version), components, row links, triggers | TalendJob, TalendComponent; Calls between jobs (tRunJob; a "Latest" version is resolved and marked as such) |
| contexts and their variables | TalendContext, TalendContextVariable; UsesContext, with whether the value can change at run time |
| database connections, repository schemas, custom routines | TalendDbConnection, TalendSchema, TalendRoutine; UsesConnection (also a job's implicit context load), UsesRoutine (also routines.Name.m(…)) |
| joblets, as Studio writes them | TalendJoblet; each use is UsesJoblet, and a job's logic runs through its joblets, inlined as Studio does |
| data components | the Transformation IR: database and file inputs and outputs (SQL folded from Java strings and the default context, any unresolved part named), tMap joins, filters and one Calculate per output column, aggregates, de-duplication |
ELT maps (tELTInput → tELTMap → tELTOutput) |
inputs with alias, table, join type and keys; outputs with SQL expressions, WHERE and GROUP BY; lowered into the same IR |
Inputs and outputs link to the tables the DDL beside the project defines (ReadsFrom, WritesTo), quoted DDL names included. Each TalendJob lists the tables and files it reads and writes and the jobs it runs.
Column lineage
Every column a job writes (database and file outputs, tBufferOutput) gets a TalendColumnLineage: the steps back to where the value came from (tMap expressions with their variables, lookups and filters, aggregates, tJavaRow assignments, pass-through components), the origin columns, and a formula over them, such as sum(ODS_VENTE.QTE_VENTE*ODS_VENTE.PRIX_VENTE).
- Jobs link through the tables one writes and another reads (
ColumnFeeds), throughtBufferOutput→tRunJob, and through files one job writes and another reads. Each lineage lists its upstream origins across jobs, back to the first source. - A component without a rule is a named gap, never a guess.
ekos recover's Talend line counts lineages, gaps and cross-job links.
Secrets
Talend keeps secrets in several shapes: encrypted enc:system.encryption.key.v1: values, password element and context parameters, password attributes, passwords in the JSON settings of newer components, and the project's own encryption key in Studio's generated poms/. All are redacted at build; a context.password reference is kept, since it names a variable, not a secret. Independently, the Talend model never reads a value from any of those places.
Rebuild from scratch any workspace that observed a Talend project with a
mainbuild from before these fixes: the ledger is append-only, so a value stored earlier stays there.
Documentation
ekos docs generate --layout estate --output docs/estate
When the ledger holds Talend projects, the estate pages gain a talend/ section:
| Page | Content |
|---|---|
talend/index.md |
the projects, with product version, job and component counts, and engines |
talend/<project>/index.md |
overview by folder, the orchestration tree from root jobs, jobs nothing calls, coverage, a link to the assessment |
talend/<project>/jobs/<job>.md |
the author's description; tables and files read and written; contexts used; every tMap and ELT map column by column; column lineage per target column; the job's findings |
talend/<project>/contexts.md |
variables by context with defaults and the jobs that use them; a password variable is listed with no value |
talend/<project>/assessment.md |
what ekos talend assess prints |
Expressions, SQL, messages and descriptions are source text, shown only when every source of the object has a known licence; names, counts and structure are always shown.
The migration assessment
ekos talend assess # Markdown
ekos talend assess --json --out assessment.json
It reads the compiled ledger only, and makes no model call. Findings are TalendFinding objects with status: hypothesis: none is a defect until a person says so.
| Class | Findings |
|---|---|
| probable defects | a measure named after a column it never reads (NB_QTE_VENTE that counts rows); a leap-year test by 4 only |
| copies | a message naming a job that the job carrying it neither is nor calls; a row-link label named after another job |
| environment ties | absolute paths, flagged when under a person's own folders (Users, home, Downloads, …) |
| unused items | jobs nothing calls and that call nothing; contexts, connections and routines nothing uses |
The report also has clone clusters (jobs whose component graphs are equal once names are removed), migration waves ordered by the table graph (cycles reported, not broken), a per-job summary (IR mapping, expressions by kind, state, run-time dependence, recognised idioms) and a target sketch counting the dbt objects a translation would produce. It gives no effort estimate in days: EKOS has no measured basis for one.
Measured
On five public projects, fetched by commit and never vendored:
- Fixture B (Talend Open Studio 8.0.1, 14 jobs): the assessment lists every finding the plan expected, and the six ODS jobs form one clone cluster.
ekos check refswent from 53 false errors to 0 after quoted DDL names were compared as lineage does. - Fixture E (Talend Cloud 8.0.1; Snowflake, Oracle, PostgreSQL, MySQL and SingleStore in one project): every count equals the census; data components mapped went from 35% to 85% with ELT maps; 911 column lineages, none with a gap; 1,538 secret values in the sources, 0 stored. The assessment found a real copy: error messages naming another job's children.
- 0 false findings on fixtures B–E after review, held by a test.
An eval set, evals/talend/, has 20 questions on fixture B with the files an answer must cite.
Not yet
- Big Data jobs, routes, dynamic schemas and
tXMLMapare recognised, counted and reported as out of scope. - dbt translation is the EKOS Lakehouse extension's (RFC 0268). Its first phase is on the lakehouse
main(lakehouse talend translate <project>): silver and gold models,ref()s between jobs, key tests and a reviewer's report, with four gates deciding whether a model may be enabled. Many models stay disabled with their reason (two writers of one table, a job reading what it writes), and nothing is verified by execution yet. The pattern is the one in Translating Pentaho to dbt. - A console page for Talend, and diagrams beyond Mermaid.