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
ksqlDB should allow access to the group-by columns without using AS_VALUE to manually copy them into the value.
Current Behavior:
ksql> CREATE STREAM a (id int key, col1 int) with (kafka_topic='a', value_format='json', partitions=1);
ksql> CREATE TABLE gb ASSELECT id, col1, COUNT(*) FROM a GROUP BY id, col1;
Message
----------------------------------
Created query with ID CTAS_GB_15
----------------------------------
ksql>SELECT id FROM gb;
Line: 1, Col: 8: SELECT column 'ID' cannot be resolved.
There are various ways to implement this:
we can actively copy any selected group by component into the value
I think the former is a good enough solution in the short term (which is how we implemented it before), while we should strive to implement the latter. The latter may require a refactor (TODO: link ticket here).
The text was updated successfully, but these errors were encountered:
ksqlDB should allow access to the group-by columns without using
AS_VALUE
to manually copy them into the value.Current Behavior:
There are various ways to implement this:
I think the former is a good enough solution in the short term (which is how we implemented it before), while we should strive to implement the latter. The latter may require a refactor (TODO: link ticket here).
The text was updated successfully, but these errors were encountered: