AI Cloud Architect

Data modeling patterns for AWS Quick Sight multi-dataset relationships

AWSHow-to by Ying Wang, Emily Zhu, Neeraj Kumar, Salim Khan and Srikanth BahetiAWS Artificial Intelligence Blog

In this post, we shift from concepts to patterns. For each schema, you’ll find a table structure, use cases, implementation steps, and sample SQL queries. We also cover workarounds for advanced scenarios that require extra modeling steps, and close with a summary of current limitations.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Quick Sight multi-dataset relationships now have documented schema patterns (star, snowflake, galaxy, role-playing, mixed grain) with sample SQL, plus workarounds for cycles, recursive and ragged hierarchies.

Who it is for

Analytics engineers building Quick Sight Topics that feed Chat and dashboards and need to know which schemas work natively.

Key points

  • All multi-dataset relationships use inner joins; rows without matching keys are excluded.
  • Circular relationships are rejected and must be broken by removing one leg.
  • Direct Query supports only Redshift, Athena, S3 Tables, Snowflake and Databricks; other sources must use SPICE.

Timeline

  1. What it explainsBuild a unified semantic layer across datasets with multi-dataset Topics in AWS Quick · AWS · How-to
  2. This postData modeling patterns for AWS Quick Sight multi-dataset relationships
  3. Read firstData modeling best practices for AWS Quick Sight multi-dataset relationships · AWS · Blog post

Go deeper