You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WITH(KEY='id') does not set the key, it's just an optimization hint for ksqldb that the key of the topic is the same as the given field in the value so that ksqldb does not need to repartition the topic...
As far as I know this was removed recently, see #3537
Getting KEY='id' will not change the data in the topic. So if the data in the topic has a null key, then so will the data returned by your select statement.
This functionality has now been removed, (as it was causing confusion!), so closing the ticket.
Describe the bug
I'm creating a stream with
it gets created. but when i query it with
i get ROWKEY=null while actual
id
field is correct.screenshot: http://joxi.ru/L21lbV3TgQwdNm
To Reproduce
Steps to reproduce the behavior, include:
confluentinc/cp-ksql-server:5.4.0
{
"id": "1",
'name': "Bob" ,
"country": "Thailand"
}
Expected behavior
ROWKEY to be the same as
id
The text was updated successfully, but these errors were encountered: