⚠️ view_name.field_name no longer exists on explore_name and will be ignored.
此警告表示您之前在探索或 Look 中选择或保存的字段现已不再可用。这种情况可能是由以下几种原因造成的:
-
从
explore
文件的 LookML 定义中移除了join,从而移除了警告中引用的字段。例如,如果您看到
users.name no longer exists on Companies, and will be ignored
警告,可能表示users
视图及其字段不再与companies
探索联接,因此在 Look 或探索中不可用。您可以使用 IDE 中的元数据面板查看引用特定视图的所有
explore
定义。 -
更改了其文件中的视图名称,或者使用
view_name
等参数更改了explore
LookML 定义中的视图引用。例如,“探索”的底层视图已使用
view_name
参数更新,该参数引用了名为customers
的视图:users
explore: users { view_name: customers }
在警告中引用的字段被有意删除时解决警告
如果警告中引用的字段是 LookML 开发者有意移除的,请按照以下步骤解决针对 Look 或探索的警告。
解决针对 Look 的警告
如需解决针对 Look 的 view_name.field_name no longer exists on explore_name and will be ignored
警告,请执行以下操作:
- 选择右上角的 Edit(修改)按钮,以修改 Look。
- 在修改模式下,选择每条错误消息旁边的 x 即可清除警告。
- 进行相应更改,例如添加字段选择器中的任意字段,然后移除该字段,以激活保存按钮。
- 选择保存。
这将更新并保存 Look,以忽略已删除的字段或字段以及附带的错误。
解决“探索”的警告
如需解决针对“探索”的 view_name.field_name no longer exists on explore_name and will be ignored
警告,请执行以下操作: