Materialized views with JOINs when Answer Query? #1348
-
|
Hi, The Answer Query feature for single tables is great. Are there any plans to make it work for queries with JOINs? Most of our queries have joins, so that would be a huge help. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
Hi, @IPetrov2013 Thank you for your inquiry. Our approach to this feature is structured in two primary phases:
We fully recognize the importance of this capability. However, this is not easy. We appreciate your feedback and will provide further updates as development progresses. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, @avamingli Do you have any progress update or a rough timeline for this? |
Beta Was this translation helpful? Give feedback.
-
|
Looking forward to this feature as well. |
Beta Was this translation helpful? Give feedback.
Hi, @IPetrov2013
Thank you for your inquiry.
Supporting multi-relations—including joins and Cartesian products—is a key part of the AQUMV roadmap.
Our approach to this feature is structured in two primary phases:
Materialized View Maintenance:
The foundational catalog design already incorporates the necessary structures for multi-relations. If we decide to do that, the upcoming work will focus on developing the maintenance mechanisms for these views.
Automatic Query Rewrite:
This phase presents a more significant technical challenge. It requires developing an algorithm capable of rewriting user queries with complex multi-relation logic to utilize the materialized views correctly.
We…