Skip to content

docs: add federated passthrough queries section#715

Merged
laughingman7743 merged 2 commits into
masterfrom
docs/federated-passthrough-queries
May 24, 2026
Merged

docs: add federated passthrough queries section#715
laughingman7743 merged 2 commits into
masterfrom
docs/federated-passthrough-queries

Conversation

@laughingman7743
Copy link
Copy Markdown
Member

WHAT

Add a new "Federated passthrough queries" section to docs/usage.md covering the TABLE(<connector>.system.query(query => '...')) syntax for federated data sources, with a runnable example using Cursor.execute().

WHY

Passthrough queries let users push native SQL directly to source systems (PostgreSQL, MySQL, Snowflake, etc.) instead of relying on Athena's planner translation. PyAthena already supports them — the SQL is passed through unchanged — but the feature is undocumented, so users may not realize it works out of the box.

Closes #712

Document the `TABLE(<connector>.system.query(query => '...'))` syntax
for pushing native SQL directly to federated data sources. PyAthena
supports this out of the box since the SQL is passed through to Athena
unchanged.

Refs #712
@laughingman7743 laughingman7743 marked this pull request as ready for review May 24, 2026 05:51
@laughingman7743 laughingman7743 merged commit f96b326 into master May 24, 2026
2 checks passed
@laughingman7743 laughingman7743 deleted the docs/federated-passthrough-queries branch May 24, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation and examples for federated passthrough queries

1 participant