There is a timing issue when using External Materialization. When a query on a matview is performed in certain time during matview loading, it might happen, that the materialized table does not exist, when in afterloadscript the primary and stage tables are being swapped using another temp table. More info in attached JIRA. Version: DV 6.3.0 ER4.1
Steven Hawkins <shawkins> updated the status of jira TEIID-4294 to Resolved
Steven Hawkins <shawkins> updated the status of jira TEIID-4294 to Reopened