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

Require KEY column in C* statements #4679

Closed
big-andy-coates opened this issue Mar 2, 2020 · 3 comments
Closed

Require KEY column in C* statements #4679

big-andy-coates opened this issue Mar 2, 2020 · 3 comments
Milestone

Comments

@big-andy-coates
Copy link
Contributor

Currently, if the user does not provide a key column in their stream definition, e.g.

CREATE STREAM FOO (COL0 INT, COL1 STRING) WITH (...);

Then ksqlDB adds a default ROWKEY STRING KEY column to the schema of the stream.

We should remove this magic and instead require the user to always supply the key column.

@big-andy-coates
Copy link
Contributor Author

To achieve this, we first need key schema inference #4462. Because we don't want to have to force people using Avro key+values to have to define their key schema in C* statements.

@big-andy-coates
Copy link
Contributor Author

We should do #3681 before this as well, to ensure we only require users to make one change.

@big-andy-coates big-andy-coates added this to the 0.10.0 milestone Apr 24, 2020
@big-andy-coates big-andy-coates modified the milestones: 0.10.0, 0.11.0 May 14, 2020
@big-andy-coates
Copy link
Contributor Author

Closed in favour of just going with #4678

@big-andy-coates big-andy-coates modified the milestones: 0.11.0, 0.10.0 Jul 8, 2020
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

No branches or pull requests

1 participant