-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alternator: allow CreateTable with streams explicitly turned off
While Alternator doesn't yet support creating a table with streams (i.e., CDC) turned on, we should only failed the creation if streams were really turned on. If the StreamSpecification option exists, but does *not* ask to turn on streams, we should not fail the creation - and this patch fixes this. This patch also adds two tests - one where StreamSpecification is passed but does not ask to turn on streams (so table creation should succeed), and another test which explicitly requests to turn on streams. The second test still xfails on Alternator, and should continue to do so until we implement streams (we do *not* want to silently ignore a request to turn on streams). Fixes #5796 Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20200212100546.16337-1-nyh@scylladb.com>
- Loading branch information
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters