all-things-risingwave
What is the plan for users who rely on DAG in RisingWave SQL?
RisingWave is designed as a SQL database, but users may rely on DAG for certain scenarios. What is the plan for supporting users who need DAG functionality in RisingWave SQL?
Si
Siyuan Wang
Asked on Jun 15, 2022
- RisingWave is currently designed as a SQL database and does not have plans to support DAG directly.
- In the future, if there is a need for high expressiveness or support for data science scenarios, RisingWave may consider building a DAG abstraction.
- Users can currently leverage SQL features like Common Table Expressions (CTE) and creating Materialized Views (MV) to mimic DAG functionality.
- RisingWave's optimizer can determine whether providing a DAG plan is better for a specific query.
- Users can compose multiple 'create MV' statements to create a DAG job in RisingWave SQL.
Jun 15, 2022Edited by