Edit Data Flows in the web app
You can edit existing captures, collection schemas, and materializations in the Flow web app. For a tour of the web app, start here.
There are separate workflows for editing captures and materializations. You can edit a collection schema using Flow's Schema Inference tool by editing either a capture or materialization associated with that collection.
Although you edit components of your Data Flows separately, they are all connected. For this reason, it's important to be mindful of your edits' potential effects. For more information on the implications of editing, see the reference documentation.
Edit a capture
Go to the Captures page of the web app.
Locate the capture you'd like to edit. Click the Options button in its table row, then click Edit specification.
The Edit Capture page opens.
Edit the connection to the destination system, if desired. You can either update fields in the Endpoint Config section or manually update the JSON in the Specification Editor.
You may have to re-authenticate with the source system. Be sure to have current credentials on hand before editing the endpoint configuration.
Use the Collection Selector to add or remove collections from the capture, if desired.
To refresh your connection with the source and see an updated list of possible collections, click the Refresh button, but be aware that it will overwrite all existing collection selections.
Use the Schema Inference tool, if desired.
Depending on the data source, you may have captured data with a fairly permissive schema. Flow can help you tighten up the schema to be used for downstream tasks in your Data Flow.
In the Collection Selector, choose a collection and click its Specification tab.
Click Schema Inference
The Schema Inference window appears. Flow scans the data in your collection and infers a new schema, called the
readSchema
, to use for downstream tasks like materializations and derivations.Review the new schema and click Apply Inferred Schema.
When you're done making changes, click Next.
Click Save and Publish.
Editing a capture only affects how it will work going forward. Data that was captured before editing will reflect the original configuration.
Edit a materialization
To edit a materialization:
Go to the Materializations page of the web app.
Locate the materialization you'd like to edit. Click the Options button in its table row, then click Edit specification.
The Edit Materialization page opens.
Edit the connection to the destination system, if desired. You can either update fields in the Endpoint Config section or manually update the JSON in the Specification Editor.
You may have to re-authenticate with the destination system. Be sure to have current credentials on hand before editing the endpoint configuration.
Use the Collection Selector to add or remove collections from the materialization, if desired.
Optionally apply a stricter schema to each collection to use for the materialization.
Depending on the data source, you may have captured data with a fairly permissive schema. Flow can help you tighten up the schema so it'll materialize to your destination in the correct shape.
In the Collection Selector, choose a collection and click its Specification tab.
Click Schema Inference
The Schema Inference window appears. Flow scans the data in your collection and infers a new schema, called the
readSchema
, to use for the materialization.Review the new schema and click Apply Inferred Schema.
When you're done making changes, click Next.
Click Save and Publish.
Editing a materialization only affects how it will work going forward. Data that was materialized before editing will reflect the original configuration.
Advanced editing
For more fine-grain control over editing, you can use flowctl and work directly on specification files in your local environment. View the tutorial.