⚠️ view_name.field_name no longer exists on explore_name and will be ignored.
這項警告表示您先前在探索或 Look 中選取或儲存的欄位現在已無法使用。造成這種情況的可能原因如下:
-
從
explore
檔案的 LookML 定義中移除彙整,這會移除警告中參照的欄位。舉例來說,如果您看到警示
users.name no longer exists on Companies, and will be ignored
,這可能表示users
檢視畫面及其欄位已不再與companies
「探索」連結,因此無法在「Look」或「探索」中使用。您可以使用 IDE 中的中繼資料面板查看參照特定檢視畫面的所有
explore
定義。 -
在檔案中變更檢視表名稱,或是使用參數 (例如
view_name
) 變更explore
LookML 定義中的檢視表參照。舉例來說,針對名為
users
的 Explore 更新了底層檢視畫面,其中view_name
參數會參照名為customers
的檢視畫面:explore: users { view_name: customers }
如果警告中參照的欄位是刻意刪除的,請解決警告
如果警告中參照的欄位是 LookML 開發人員有意移除的,請按照下列步驟解決 Look 或 Explore 的警告。
解決外觀警告
如要解決 Look 的 view_name.field_name no longer exists on explore_name and will be ignored
警告,請按照下列步驟操作:
- 選取右上角的「編輯」按鈕,即可編輯外觀。
- 進入編輯模式後,選取每則錯誤訊息旁邊的「x」x,即可清除警告。
- 如要啟用「儲存」按鈕,請進行變更,例如從欄位挑選器中新增任何欄位,然後移除該欄位。
- 選取「儲存」。
系統會更新並儲存 Look,以便略過已刪除的欄位和隨附的錯誤。
解決探索警告
如要解決探索功能的 view_name.field_name no longer exists on explore_name and will be ignored
警告,請按照下列步驟操作: