Google BigQuery (50 Qs)•Part 2: Query Optimization, Security & Analytics Engineering (11 - 24)
How do Materialized Views work in BigQuery and what is Smart Query Rewrite?
junior LevelPerformanceSecurity & Auth
In Simple Words: BigQuery automatically maintains materialized view data as base tables change. Under Smart Query Rewrite, if an analyst queries the base table directly, BigQuery automatically rewrites the query to use the materialized view instead!