Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/user: remove mentions to PRIMARY KEY...NOT ENFORCED clause #18870

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

morsapaes
Copy link
Contributor

This feature was gated to unsafe mode in #15273, but mentions to the clause were left behind in the docs.

Tips for reviewer

I removed mentions to manually setting an upsert key completely, but considered adding the following note:

  • The upsert key is automatically inferred for this envelope. There is currently no way to manually define the upsert key.

Since it'd also have to be added under the section about Debezium, I thought a bit harder and maybe it's unnecessary to mention this at all. The signal we have is that users have struggled frequently with inferred keys for sinks, but not for sources. No strong opinion, though.

@morsapaes morsapaes requested a review from sthm April 20, 2023 16:27
@morsapaes morsapaes requested a review from a team as a code owner April 20, 2023 16:27
@sthm
Copy link
Contributor

sthm commented Apr 20, 2023

lgtm, thanks!

@sthm
Copy link
Contributor

sthm commented Apr 20, 2023

The note for the upsert key is not really actionable, so I'm not sure how helpful it would be.

@morsapaes morsapaes merged commit 2048d0c into MaterializeInc:main Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants