Closed pavel-kalmykov closed 6 months ago
All right, I just realized that this changed a couple of versions ago by reading https://www.confluent.io/blog/ksqldb-0-10-updates-key-columns/. My bad.
Feel free to delete this issue if appropriate — I apologise for the inconvenience.
Describe the bug For some reason, it appears that any streams/tables created do not have the ROWKEY column. As per my understanding, this is something ksqlDB always inserts, at least according to the
CREATE STREAM
statement documentation. Oddly enough, the ROWTIME column is present, though.To Reproduce To reproduce this, I am using the
cp-all-in-one-kraft
docker-compose template, v.7.6.1. Additionally, I also use Nix'sconfluent-platform
package to issue the topic creation/production commands. I create a topic, produce some data into it, and create a stream withksql
. So the setup flow goes something like this:Expected behavior After the above set up, I would expect to be able to query the internal/system columns (ROWKEY/ROWTIME) for my stream.
Actual behaviour Following the console output described above, we issue two queries to see how selecting the ROWKEY results in an error:
Additional context This error also applies to tables, rendering them completely unusable.
In any case, I think I am missing something, but I do not know what it can be.