Skip to content

UpdateTable: the missing StreamViewType sentence differs from the service #519

Open

Description

@LeeroyHannigan

Summary

UpdateTable StreamSpecification {StreamEnabled: true} with no StreamViewType is refused on both sides, with different sentences.

Message
Service (measured 2026-10-24, twice, on a never-streamed table and on a table whose stream is enabled) One or more parameter values were invalid: If stream is being enabled then UpdateViewType is required
ExtendDB (crates/engine/src/update_table.rs) StreamViewType must be specified when StreamEnabled is true

On the service this check precedes the already-enabled check (Table already has an enabled stream); ExtendDB has the same order.

Fix shape

Replace the sentence in the engine's update_table.rs; the existing unit test and a wire row on both table states. The CreateTable form has its own sentence (Table is being created with a stream enabled, UpdateViewType is required), added in #515.

Found while reviewing #515.

Activity

  1. added this to the 1.0 milestone on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions