[ 
https://issues.apache.org/jira/browse/SPARK-29038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927784#comment-16927784
 ] 

Xiao Li commented on SPARK-29038:
---------------------------------

So far, the doc does not contain enough details. It requires comprehensive 
comparison with the corresponding features in the other commercial database. We 
also need to document how to implement them one by one.

Also, based on my understanding, the materialized view should not be 
memory-based. It has to be physically stored. Usage of Spark cache could affect 
the other memory-intensive queries. Any major feature in cache usage requires a 
memory manager.   

I am not against this, but the efforts for supporting this feature are pretty 
big. 

> SPIP: Support Spark Materialized View
> -------------------------------------
>
>                 Key: SPARK-29038
>                 URL: https://issues.apache.org/jira/browse/SPARK-29038
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Lantao Jin
>            Priority: Major
>
> Materialized view is an important approach in DBMS to cache data to 
> accelerate queries. By creating a materialized view through SQL, the data 
> that can be cached is very flexible, and needs to be configured arbitrarily 
> according to specific usage scenarios. The Materialization Manager 
> automatically updates the cache data according to changes in detail source 
> tables, simplifying user work. When user submit query, Spark optimizer 
> rewrites the execution plan based on the available materialized view to 
> determine the optimal execution plan.
> Details in [design 
> doc|https://docs.google.com/document/d/1q5pjSWoTNVc9zsAfbNzJ-guHyVwPsEroIEP8Cca179A/edit?usp=sharing]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to