estuary / ui

A web based UI to assist in working with Estuary Flow
https://dashboard.estuary.dev/
Other
12 stars 1 forks source link

Add support for `delta updates` and `targetSchema` to UI for materializations #1135

Open travjenkins opened 5 months ago

travjenkins commented 5 months ago

Current Ask

  1. When a user adds a sourceCapture we will then need to show them a setting to control the deltaUpdates flag. This is setting ON the sourceCapture setting itself is really controlling if fields added has the binding deltaUpdates defaulted.
  2. When adding a manual binding we will need to get the deltaUpdate and targetSchema settings for the bindings.

We will only default new bindings when selecting a Source Capture

deltaUpdates: true, then new bindings that are added automatically by sourceCapture, are added with delta updates set to true.
targetSchema: "fromSource", then new bindings that are added automatically by sourceCapture, are added with their schema set to the 2nd-to-last part of the collection name
    (the alternative value of targetSchema is leaveEmpty which leaves the schema empty for that binding, thus defaulting to the global schema of the materialization task (current behavior)

Previous Ask

We want to start defaulting delta_updates to true for materializations. While doing this work we also want to expose this setting in the form (somewhere) for the user to easily edit.

Docs: https://docs.estuary.dev/reference/Connectors/materialization-connectors/BigQuery/#delta-updates

travjenkins commented 1 week ago

Requires https://github.com/estuary/flow/issues/1760