Athena
Parity grade: A · SDK aws-sdk-go-v2/service/athena@v1.66.3 · last audited 2026-10-11 (0c1472972)
Category: Analytics · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 27 (26 ok, 1 partial) |
| Feature families | 2 (2 ok) |
| Known gaps | 3 |
| Structural gaps (can't be emulated) | 6 |
| Deferred items | 1 |
| Resource leaks | clean |
Known Gaps
- Trino functions Athena v3 documents but the engine lacks (each fails 'Function not registered'): aggregates listagg, checksum, map_union, multimap_agg, approx_most_frequent, numeric_histogram, approx_set/merge, qdigest_agg, tdigest_agg, reduce_agg; arrays array_histogram, combinations, ngrams; vector/stat functions cosine_distance, cosine_similarity, dot_product, euclidean_distance, beta_cdf, normal_cdf, t_cdf, t_pdf, inverse_beta_cdf, inverse_normal_cdf, wilson_interval_lower/upper; width_bucket(x, bins array) overload; date/time at_timezone, with_timezone, timezone_hour, timezone_minute, current_timezone, now, localtimestamp, from_unixtime_nanos, from_iso8601_timestamp_nanos, human_readable_seconds; string/binary luhn_check, normalize, regexp_position, split_to_map, split_to_multimap, title_case, word_stem, soundex, to_base64url, from_base64url, hmac_md5/sha1/sha256/sha512, xxhash64, spooky_hash_v2_32/64, JSON json_array_contains, json_array_get, is_json_scalar; maps map_entries, map_from_entries, map_concat, multimap_from_entries; position(x IN y) and overlay(... PLACING ...) syntax.
- nan() cannot be a real DOUBLE: SQLite stores NaN as NULL, so nan() yields the text NaN (ColumnInfo varchar, not double) that is_nan/is_finite/is_infinite recognise; arithmetic on it and NaN results of skewness/kurtosis with zero variance surface as NULL.
- Aggregates over zero rows (bitwise_agg, skewness, kurtosis, regr) report ColumnInfo varchar, not bigint/double: result types are inferred from the first non-NULL value.
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- SQL is SQLite semantics behind a Presto/Trino translation layer, not Trino; TABLESAMPLE and multi-argument UNNEST fail as SYNTAX_ERROR.
- DeleteDataCatalogInput.DeleteCatalogOnly has no effect: a FEDERATED catalog's CFN Stack/Lambda/Glue Connection resources are not simulated.
- WorkGroup.IdentityCenterApplicationArn is never set: the IAM Identity Center application AWS provisions for an Identity Center workgroup does not exist here.
- WorkGroup on GetDatabase/ListDatabases/GetTableMetadata/ListTableMetadata/GetDataCatalog/ListDataCatalogs is accepted and ignored: it only matters for IAM Identity Center-enabled Glue catalogs, which do not exist here.
- StartCalculationExecution.CalculationConfiguration (deprecated CodeBlock) is unobservable (no Spark engine, no output echoes it); GetQueryResults QueryResultType=DATA_MANIFEST is unmodeled because the UNLOAD/CTAS/INSERT data manifest is never written.
- StartQueryExecution.EngineConfiguration is validated (classification and min/max-dpu-count) but cannot change anything: query execution is never routed through Capacity Reservation DPU accounting.
Deferred Items
- none — full routed-op surface re-audited this pass (base + extended dispatch tables, 70 ops total)
Audited Operations
27 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
BatchGetPreparedStatement | ok | ok | ok | ok |
GetSessionEndpoint | ok | ok | ok | n/a |
CreatePresignedNotebookUrl | ok | ok | ok | n/a |
GetResourceDashboard | ok | ok | ok | n/a |
StartQueryExecution | ok | ok | ok | ok |
StopQueryExecution | ok | ok | ok | ok |
GetQueryExecution | ok | ok | ok | ok |
SqlEngine (StartQueryExecution over S3/Glue) | ok | ok | ok | ok |
GetQueryResults | ok | ok | ok | ok |
Iceberg and Delta Lake tables (Athena SQL engine) | ok | partial | ok | ok |
ListQueryExecutions | ok | ok | ok | ok |
BatchGetQueryExecution | ok | ok | ok | ok |
WorkGroup (Create/Get/List/Update/Delete) | ok | ok | ok | fixed |
NamedQuery (Create/Get/List/BatchGet/Delete/Update) | ok | ok | ok | ok |
DataCatalog (Create/Get/List/Update/Delete) | ok | ok | ok | ok |
PreparedStatement (Create/Get/List/BatchGet/Delete/Update) | ok | ok | ok | ok |
CapacityReservation (Create/Get/List/Update/Cancel/Delete) | ok | ok | ok | ok |
CapacityAssignmentConfiguration (Put/Get) | ok | ok | ok | ok |
Notebook (Create/Delete/Export/Import/Update/UpdateMetadata/GetMetadata/ListMetadata) | ok | ok | ok | ok |
Session (Start/Get/GetStatus/Terminate/List/ListNotebookSessions) | ok | ok | ok | ok |
Calculation (Start/Get/GetStatus/GetCode/Stop/List) | ok | ok | ok | ok |
Database/TableMetadata (Get/List) | ok | ok | ok | ok |
Tags (Tag/Untag/ListTagsForResource) | ok | ok | ok | ok |
ListEngineVersions | ok | ok | ok | n/a |
ListApplicationDPUSizes | ok | ok | ok | n/a |
ListExecutors | ok | ok | ok | n/a |
GetQueryRuntimeStatistics | ok | ok | ok | n/a |
Audited Feature Families
| Feature Family | Status |
|---|---|
pagination | ok |
janitor/leaks | clean |
