Help Center/
    
      
      MapReduce Service/
      
      
        
        
        Component Operation Guide (LTS)/
        
        
        Using HetuEngine/
        
        
        Common HetuEngine SQL Syntax/
        
        
        HetuEngine DDL SQL Syntax/
        
      
      SHOW CREATE MATERIALIZED VIEW
    
  
  
    
        Updated on 2024-12-13 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
SHOW CREATE MATERIALIZED VIEW
Syntax
SHOW CREATE MATERIALIZED VIEW materialized_view_name
Description
This statement is used to display the SQL statements that can be used to create a materialized view.
Example
Displays the SQL statements for creating the materialized view.
hetuengine:tpcds_2gb> show create materialized view mv.tpcds.test;
             Create Materialized View
---------------------------------------------------
 CREATE MATERIALIZED VIEW mv.tpcds.test ( c1, id )
 WITH (
    storage_table = 'mppdb.tpcds.test'
 ) AS
 SELECT
   c1
 , id
 FROM
   t1
WHERE (id < 7)
 
   Parent topic: HetuEngine DDL SQL Syntax
  
 Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
                The system is busy. Please try again later.
                
            
        For any further questions, feel free to contact us through the chatbot.
Chatbot