使用 SQL Explorer 產生 Incremental Materialized View
如想要了解 Incremental Materialized View 概念可以參考這裡。
操作步驟
1. 準備 Tables
您需要在 Tables 中準備好做 Incremental Materialized View 的 Table。

2. Create Incremental Materialized View
在 Workspace > Tables > Materialized View 頁面上,點擊 Create Incremental Materialized View。
3. 填寫 Incremental Materialized View 的資訊
Name: Materialized View 的名稱Select a source table: 從下拉選擇來源的 TableColumns: 選擇需要的欄位Select unique key(s): 選擇 unique key 的欄位,在後續增量式更新時,會以此欄位做資料合併,若不指定此欄位,將會忽略來自資料來源 update row 的更新,並只把 insert 到資料來源的新資料 append 到 Materialized View 中.Select incremental key: 選擇 incremental key 的欄位,每次更新會記錄此欄位的最大值,並對資料來源下大於 (>) 此最大值的 Query,取得片段的更新資料,僅接受TINYINT,SMALLINT,INTEGER,BIGINT,REAL,DOUBLE,DECIMAL,DATE,TIME,TIMESTAMP等型態.Schedule: 可以針對您的需求每小時、每天、每月進行排程,或客製化時程。定期更新,可設定間隔小時 (Hourly),每天時間 (Daily),每週時間 (Weekly),或自定義 Crontab 語法。

Crontab 時區
若在 Crontab 中指定特定的 Hour,需注意這邊的時間是 UTC +0 時區。
查看 Incremental Materialized View 細節
點進 "Tables" > "Materialized View" 後您就可以看到細節資料

Materialized View 完成時

刪除 Materialized View
如您要刪除 Materialized View 也可以在 "Tables" > "Materialized View" 這裡刪除資料。
