Expand description
Query execution module for Athena CLI.
This module provides functionality to:
- Execute SQL queries against AWS Athena
- Retrieve and display query results
- Monitor query execution status and statistics
- Handle result pagination and data formatting
§Usage Examples
Simple query:
athena-cli query "SELECT * FROM my_table"
Query with database and workgroup specified:
athena-cli -d my_database -w my_workgroup query "SELECT * FROM my_table"
Query with custom result reuse time:
athena-cli query --reuse-time 2h "SELECT * FROM my_table"
Query with output location:
athena-cli --output-location s3://my-bucket/results/ query "SELECT * FROM my_table"
Functions§
- execute
- Executes an Athena SQL query and displays the results.