Skip to content

docs(data-streams): clarify no primary key support#985

Merged
Matovidlo merged 1 commit into
mainfrom
martinvasko-docs-streams-pk-note
Jun 23, 2026
Merged

docs(data-streams): clarify no primary key support#985
Matovidlo merged 1 commit into
mainfrom
martinvasko-docs-streams-pk-note

Conversation

@Matovidlo

Copy link
Copy Markdown
Contributor

Jira issue(s): PROOF-XXX

Clarifies that data streams do not support primary keys — incoming events are appended and no deduplication happens on import. This was misleading before: the Table settings listed an "Edit primary keys" option, implying PK enforcement that does not exist.

Changes:

  • Add a standalone No primary key support note explaining streams append every event with no import-time dedup
  • Document the recommended workaround: a downstream deduplication transformation writing to a new table (output-mapping PK dedups on load), scheduled via a conditional flow, with Kai assistance
  • Remove the misleading "Edit primary keys (available only if you create a new table within the stream)" bullet from Table settings

Docs-only change. Verified locally with npm run dev (page renders 200, all internal links resolve).

State that data streams do not support primary keys (events are appended,
no dedup on import) and point users to a downstream deduplication
transformation scheduled via a conditional flow, with Kai assistance.
Remove the misleading "Edit primary keys" table-settings bullet.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
connection-docs Ready Ready Preview, Comment Jun 23, 2026 1:14pm

Request Review

@Matovidlo

Copy link
Copy Markdown
Contributor Author

@claude review

@keboola-pr-reviewer-bot keboola-pr-reviewer-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: needs_human (risk 2/5) · profile docs

This PR adds a substantive product-behaviour claim and several in-repo anchor links that cannot be verified from the diff alone.

Concerns:

  • src/content/docs/storage/data-streams/data-streams.md: New product-behaviour claim (no PK support, append-only) needs product-team confirmation before shipping.
  • src/content/docs/storage/data-streams/data-streams.md: In-repo anchors #primary-key-deduplication and #output-mapping cannot be verified from this diff alone.
  • src/content/docs/storage/data-streams/data-streams.md: In-repo links /flows/ and /kai/ target pages not visible in this diff; existence unverifiable.

Suggested reviewers: keboola/docs

@Matovidlo Matovidlo requested a review from DasaDama June 23, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Data Streams documentation to explicitly clarify that Data Streams do not support primary keys (events are appended and not deduplicated at import time), and removes UI wording that previously implied primary key support.

Changes:

  • Removed the “Edit primary keys …” bullet from the Data Streams table settings list to avoid implying PK support.
  • Added a “No primary key support” note explaining append-only behavior and lack of import-time deduplication.
  • Documented a recommended downstream workaround using a deduplication transformation + output-mapping primary key behavior + scheduling via Conditional Flows (with links to relevant docs).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DasaDama DasaDama left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Matovidlo Matovidlo merged commit 2532852 into main Jun 23, 2026
5 checks passed
@Matovidlo Matovidlo deleted the martinvasko-docs-streams-pk-note branch June 23, 2026 13:31
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.

4 participants