Skip to main content

Data Hub

Browse the datasets your pipelines write, open any version, and follow a pipeline run step by step from the app's Pipeline tab.

What the Data Hub is

A pipeline app writes its output to a dataset, a stored table that keeps every version ever written to it. The Data Hub is where those datasets live, together with the list of pipelines that produce them.

Datasets and the pipeline graph used to sit inside Farseer Labs. They now have a page of their own, reached from Data Hub in the side navigation, below Import. Old Labs links still work and open the matching Data Hub page, on the same dataset version or the same pipeline step.

Who can open it

The Data Hub needs the Data Hub permission, shown in the permission picker as "Data Hub (reads every dataset)". Without it the navigation entry, the Data Hub pages and the Pipeline tab on an app stay hidden. It reads every dataset in the workspace, so grant it the way you would grant any workspace-wide read.

Datasets

The Datasets tab lists every dataset in the workspace, with its namespace, format and last modified time. The search box filters by name.

Namespaces sort in medallion order, so raw, landing, in, bronze, silver and gold come first, then the remaining namespaces alphabetically, and datasets without a namespace last. Bronze, silver and gold also carry a coloured tag, so the layer a dataset belongs to reads at a glance.

An empty list means nothing has written a dataset yet. Datasets appear the first time a pipeline runs with dataset storage configured.

The dataset page

Clicking a dataset name opens it. Under the title, one line of facts tells you which version is on screen, whether it is the current one, and how many rows it has. A large version says how much of it you are seeing, for example 1.500.000 rows, first 500.000 shown.

The rest of the page is a preview grid that scrolls through the whole version the way a sheet does. It reads the file in pages as you scroll, so jumping a hundred thousand rows down loads only what is in view. Rows still being read show the loading state and fill in. The preview covers parquet and CSV versions, up to 500,000 rows; for any other format, or a version too large to preview, the page tells you to download it instead.

Copying from the grid copies the rows that are loaded. If the selection reaches rows that have not been read yet, Farseer says so, and the whole file is a download away.

When you arrive from a pipeline run, the facts line ends with Written by and the app name for the version that run wrote, or Opened from when you are looking at a different version. The app name is a link back to the run, and to the same step if a step took you here. That holds after a reload or on a link someone pasted to you.

Show current returns to the current version, Version history opens the version list, and Download saves the file. Deleting a dataset removes all of its versions and cannot be undone.

Download

Download saves the version straight from storage, named after the dataset and the version, for example silver.orders-v2.parquet. A version split across several files opens a menu so you can pick one. Download is also available on every version in the history that holds data.

Version history

Every run that writes a dataset adds a version, and the current version is the one everything else reads. Version history lists them with their status, when they started, when they were published, how many rows were written and how large they are.

  • Clicking a version name previews it and closes the list. The version on screen is bold, and the one the opened run wrote is marked.

  • Make current points later reads at that version.

  • Publish makes a version current when its own run never did, because the run was stopped early or is still going. Publishing skips the checks a run performs before it publishes.

  • Download saves that version.

Delete and Publish are available to super users. Make current is available to super users and to anyone with the Update app permission.

What Make current changes

Later reads of the dataset use the version you pick, including load steps, other pipelines and this preview. Data a Farseer model has already loaded from the dataset does not change.

A pipeline run that is writing the dataset at that moment fails, and its unpublished version is cancelled. If the dataset tracks its read position in the source, the position goes back to where the version you made current stopped.

Pipelines

The Pipelines tab lists the apps that run on the pipelines runner, with their descriptions. Each row opens that app's Pipeline tab, so a pipeline has one home and its runs, logs and settings are a click away.

If the list says there are no pipelines but you expect some, check that you have the Find all apps permission. Without it the list cannot see the apps.

The Pipeline tab on an app

An app page has three tabs, Runs, Settings and Pipeline. The tab that used to be called General is now Runs, because that is what it shows.

The Pipeline tab reads one run at a time, with the graph on the left and the selected step's details beside it on the right, so you can read a step without scrolling away from the picture. The page grows with the window rather than sitting in a fixed column, so a large monitor gets a larger graph.

Picking a run

The run picker above the graph names each run by its start time and its status. A failed run opens on its first failed step. Changing the run keeps the step you had selected, and says so when that step is not part of the new run. Run logs opens the whole run's log in a window over most of the screen.

The graph

The graph reads in one direction, laid out in bands, with a box per step and template files grouped together. The run's summary sits above it.

  • Whole pipeline, a button or a trackpad pinch, fits the whole graph into the area. Actual size, or a pinch back, returns. A pipeline that does not fit at actual size is drawn with one-line boxes showing only the name, packed as many to a row as makes them largest, so a hundred-step pipeline is still readable at a glance.

  • The selected step scrolls into view, so a failed run opens on the step that failed.

  • While a run is going, steps waiting their turn are grey, and the running step is grey with a blue border, reads "Running" and has blue lines into it. A box holding several steps fills white from the left as they finish. The line above the graph names the step running right now.

  • Once a run has ended, a step that never ran says "Didn't run" rather than "Pending", and a step that was still going when the run stopped says "Stopped". This covers a run that was killed or stopped by a person, not only one that failed.

The step beside it

The panel on the right opens with the step's icon, name, type and position, and a status pill. Under that are three tabs, Overview, Output with its row count and Log with its line count. A dot on Overview marks a warning or a failure.

Overview answers "what happened here" in the order you need it:

  • For a failed step, Why it failed comes first, with Show technical details, which opens the Log tab with the technical lines turned on, and Copy error.

  • The step's description, and where it is defined, as a link to its YAML on the Files page. Show code reads that file without leaving the tab.

  • Its duration, the rows it wrote and when it started.

  • Data warnings under Needs attention, and, for a failed step, the steps downstream that did not run because of it.

  • The steps it reads from and the steps that read it, each with its own status and row count, one click away.

Output shows what the step wrote, with Open in a large window for up to 100 rows. A step with no output says why, whether it has not run yet, did not run, or stopped first. A load or export step shows its done line instead, such as rows exported to a file in Farseer Files.

Log is this step's own lines, not the whole run's. One switch covers All, Warnings and Errors with their counts, a button reads oldest or newest first, and a ⋯ menu holds Show technical details and Copy log. Each line's time and duration sit above its text, so the text itself gets the full width.

When the tab is there

A pipeline app always has the tab. When none of its runs recorded its steps, the tab is disabled and its tooltip says why, either that the app has not run yet or that the run needs experimental__emit_pipeline_visualization_markers=True added to run_pipeline in main.py. Any other app shows the tab once one of its runs records steps.

The selected run and step are in the URL, so a link you copy from this tab opens on the same run and the same step for whoever you send it to.

Did this answer your question?