-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Drop requirement that CREATE TABLE
statements have a KEY
set in WITH
clause
#2746
Drop requirement that CREATE TABLE
statements have a KEY
set in WITH
clause
#2746
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @big-andy-coates
...-common/src/main/java/io/confluent/ksql/util/timestamp/TimestampExtractionPolicyFactory.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Conflicting files ksql-engine/src/main/java/io/confluent/ksql/ddl/commands/AbstractCreateStreamCommand.java ksql-engine/src/main/java/io/confluent/ksql/ddl/commands/CreateTableCommand.java ksql-engine/src/main/java/io/confluent/ksql/planner/plan/JoinNode.java ksql-engine/src/test/java/io/confluent/ksql/ddl/commands/AbstractCreateStreamCommandTest.java ksql-engine/src/test/java/io/confluent/ksql/ddl/commands/CommandFactoriesTest.java
Conflicting files ksql-engine/src/test/java/io/confluent/ksql/planner/plan/JoinNodeTest.java
Description
Drop requirement that
CREATE TABLE
statements have aKEY
set inWITH
clauseFixes #2745
This also fixes a hole in the current KSQL where any table without a key field set can be used in a join by any column, i.e. it should throw an error, but does not.
Still todo:
JoinNodeTest
to cover new functionality once Fix Joining on ROWKEY #2735 is mergedTesting done
Updated
key-fields.json
test accordingly and unit tests.Reviewer checklist