View a markdown version of this page

Query sources that run their own query engine - AWS Context

Query sources that run their own query engine

Some sources run the query on their own engine. For these, the agent sends the query to the source through its AWS Glue connection. This path is available through agentic retrieval only; ExecuteSql doesn’t reach these sources.

Source Read as

Amazon Redshift

The identity that reads the connection (see How access controls apply when AWS Context queries data), mapped to a database user by the source

Amazon RDS (PostgreSQL and Oracle; Amazon Aurora PostgreSQL reads as PostgreSQL)

The identity that reads the connection, mapped to a database user by the source

Amazon DynamoDB

The identity that reads the connection

Snowflake

The signed-in user, through the user’s own authorization to Snowflake

Databricks

The signed-in user, through the user’s own authorization to Databricks

The connection a table came from decides where its query runs. Only columns present in the Agent context can be queried. Snowflake and Databricks are always read as the signed-in user; without a user identity, the source isn’t queried.