Quick BI仪表板打开报错:"View 'adb.test_db.test_table' is stale; it must be re-created"

更新时间:

问题描述

Quick BI仪表板打开报错:"View 'adb.test_db.test_table' is stale; it must be re-created"。

问题原因

视图过期导致的。

解决方案

要防止“视图过时”错误,每次修改底层表或数据库时都需要重新创建视图。也可以通过添加 OR REPLACE clause in the CREATE VIEW 语句来替换视图。此子句允许您通过替换现有视图来更新该视图。

适用于

  • Quick BI 公共云