Failed or cancelled queries found in cached are ignored. Export
PALLAS_CACHE_FAILED=trueto use failed queries from the cache.
A small optimization to avoid duplicate check of local cache.
Use PEP 585 type annotations.
Test with Python 3.9 and Python 3.10
Test environment variables consistent with runtime environment variables.
Refactor and cleanup of tests.
Better logging. Log summary at INFO level and details at DEBUG level. Add a helper for logging configuration.
Include QueryExecutionId in exception messages.
Fix conversion because Athena sometimes returns “real” instead of “float”.
Remove deprecated ignore_cache parameter.
Fix query execution ID not cached locally when cached remotely.
Export new exceptions introduced v0.6 to the top level module.
Do not substitute parameters (require quoted percent signs) when no parameters are given.
Add support for parametrized queries.
More options for cache configuration.
Allow to override configuration of the Athena class after it is initialized.
Refactored implementation from layered decorators to one class using specialized helpers.
All public (documented) functions and classes are available the top-level module.
Athena and Query classes available from the top-level module (useful for type hints).
AthenaQueryError from the top-level module.
Fix: SELECT queries cached only when uppercase.
Fix: Queries not killed on KeyboardInterrupt.
Cache SELECT statements only (starting with SELECT or WITH).
Preserve empty lines in the middle of normalized queries.