Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. From the data consumer’s perspective a materialized view would behave exactly like any other table or view in Synapse. For example, faceted navigation of materialized view would behave exactly like faceted navigation in a table.

  2. The data consumer should not need to understand that the data in a materialized view was derived from one or more tables/views.

  3. The data producer would be expected to construct materialized view on behalf of their data consumers.

  4. The data producer would be expected to have a basic understanding of database normalization and the SQL join syntax.

  5. When the source data of a materialized view changes (example a change occurs in the patients table), the materialized view should eventually get update automatically. Specifically, no users action should be required to force the materialized view to re-build upon source changes.

  6. Materialized view sources can be either views, tables, or even other materialized views.

  7. Materialized view are defined by SQL only. The SQL can include any supported SQL including joins, where clause, group by clause, and select functions.

  8. All authorization checks on the source data must extends to materialized view.

    1. Tables - The user must have the DOWNLOAD permission on the all source table tables referenced in the view to see any rows in the materialized view. The user must also meet all AccessRequirements on all tables referenced in the view to see any rows in the materialized view. All or none.

    2. View - The user must have READ on each object from a view. Row level filtering.

...