Combine data from several sources in one question
One question can draw on several sources. A single SQL query can join AWS Glue Data Catalog tables from different connections with Amazon Redshift, Amazon RDS, and Amazon DynamoDB tables. Each source runs its part, and AWS Context joins the results. A Snowflake or Databricks table can be joined only with tables from its own connection. Tables that AWS Context reads with different identities can’t share one query. For example, two data access roles are different identities, and so are a data access role and the caller’s credentials. In those cases the agent queries each source separately and combines the results in its answer.
The agent also combines documents with data. It can read a business rule from a knowledge base document, query a table using that rule, and cite both.