run_query
Execute SQL queries on AWS Athena to retrieve data from AWS Glue catalog. Manages query execution with configurable timeout and row limits for efficient data access.
Instructions
Execute a SQL query using AWS Athena. Returns full results if query completes before timeout, otherwise returns queryExecutionId.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | Yes | The Athena database to query | |
maxRows | No | Maximum number of rows to return (default: 1000) | |
query | Yes | SQL query to execute | |
timeoutMs | No | Timeout in milliseconds (default: 60000) |