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

Issue with creating a KTABLE with a composite key #4863

Closed
sivaknakka opened this issue Mar 22, 2020 · 1 comment
Closed

Issue with creating a KTABLE with a composite key #4863

sivaknakka opened this issue Mar 22, 2020 · 1 comment

Comments

@sivaknakka
Copy link

Trying to create a KTABLE with composite key, but it is not taking multiple columns part of the KEY syntax. Do not want to go with GROUP BY approach, that way I have to provide aggregation function and I have many columns, can not apply group by on all those columns.
Getting this error.
ksql> CREATE TABLE DHCP_TBL WITH (KAFKA_TOPIC='dhcp_topic', KEY='IP,PORT',VALUE_FORMAT='AVRO');
No column with the provided key column name in the WITH clause, IP,PORT, exists in the defined schema.
ksql>

@big-andy-coates
Copy link
Contributor

Hey @sivaknakka - support for multiple key columns is coming...

#824

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

2 participants