ksql icon indicating copy to clipboard operation
ksql copied to clipboard

Inaccurate part in Materialized Views documentation

Open alonpr opened this issue 2 years ago • 0 comments

https://docs.ksqldb.io/en/latest/concepts/materialized-views/#materialized-views

Non-materialized tables can't be queried, because they would be highly inefficient. On the other hand, if a table is derived from another collection, ksqlDB materializes its results, and you can make queries against it.

Non-materialized tables can be queried using push or persistent queries.

And here: https://docs.ksqldb.io/en/latest/concepts/queries/#push

Push queries enable you to query a stream or materialized table with a subscription to the results. You can subscribe to the output of any query, including one that returns a stream. A push query emits refinements to a stream or materialized table ...

The table doesn't have to be materialized before running a push query on it.

alonpr avatar Jul 21 '22 15:07 alonpr