Open dyaffe opened 1 year ago
Max Sync Frequency and Min Sync Frequency
🤔 @dyaffe This is potentially confusing. It happens to be accurate in the specific case of snowflake, bigquery, or redshift given how those connectors work. It's not generally true of materializations, though, and we will still sync data to other systems continuously and only close transactions (if that's even something the connector considers to be meaningful) at those intervals.
I'm not aware of a more technically-accurate naming than Minimum / Maximum Transaction Duration
in terms of what's actually going on.
Those names mean kind of nothing to me -- definitely less than the ones I proposed @jgraettinger and I'd imagine they would mean the same too users too
we will still sync data to other systems continuously and only close transactions (if that's even something the connector considers to be meaningful) at those intervals.
🤦 This is inaccurate. Inside of a materialization transaction, we'll stream loads as needed but we do hold back documents to store until the end of the transaction, so calling it a sync frequency actually is pretty reasonable.
The defect identified in this issue should be resolved by PR 512. The scope of this defect was larger than originally described, affecting all optional specification properties for materializations and captures alike. As of now, the UI should only set task specification properties that can be edited via a UI form (i.e., endpoint.connector
and the resource
bindings object property) when the form is submitted (via the Next CTA).
Converting this defect issue into a feature issue for the idea proposed in the initial comment. Adjusted the title to align with the proposal. Please scope the feature request as needed by adjusting the title (e.g., enable task shard configuration in materialization workflows, enable task shard configuration in edit workflows, etc.) and/or adding additional definition in a comment.
Bug If a user manually adds shard settings to a materialization via the CLI, then edits that materialization via the UI, we delete them.
Expected We shouldn't blow away those shard settings on deletion
Proposal We could either manually blow those settings away or add maxTxnDuration and minTxnDuration as advanced settings in the UI. The latter would be preferable if possible and the names in the UI would ideally be:
Max Sync Frequency
andMin Sync Frequency