Skip to content

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 ​

MetricValue
PARITY entries audited27 (26 ok, 1 partial)
Feature families2 (2 ok)
Known gaps3
Structural gaps (can't be emulated)6
Deferred items1
Resource leaksclean

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
OperationWireErrorsStatePersist
BatchGetPreparedStatementokokokok
GetSessionEndpointokokokn/a
CreatePresignedNotebookUrlokokokn/a
GetResourceDashboardokokokn/a
StartQueryExecutionokokokok
StopQueryExecutionokokokok
GetQueryExecutionokokokok
SqlEngine (StartQueryExecution over S3/Glue)okokokok
GetQueryResultsokokokok
Iceberg and Delta Lake tables (Athena SQL engine)okpartialokok
ListQueryExecutionsokokokok
BatchGetQueryExecutionokokokok
WorkGroup (Create/Get/List/Update/Delete)okokokfixed
NamedQuery (Create/Get/List/BatchGet/Delete/Update)okokokok
DataCatalog (Create/Get/List/Update/Delete)okokokok
PreparedStatement (Create/Get/List/BatchGet/Delete/Update)okokokok
CapacityReservation (Create/Get/List/Update/Cancel/Delete)okokokok
CapacityAssignmentConfiguration (Put/Get)okokokok
Notebook (Create/Delete/Export/Import/Update/UpdateMetadata/GetMetadata/ListMetadata)okokokok
Session (Start/Get/GetStatus/Terminate/List/ListNotebookSessions)okokokok
Calculation (Start/Get/GetStatus/GetCode/Stop/List)okokokok
Database/TableMetadata (Get/List)okokokok
Tags (Tag/Untag/ListTagsForResource)okokokok
ListEngineVersionsokokokn/a
ListApplicationDPUSizesokokokn/a
ListExecutorsokokokn/a
GetQueryRuntimeStatisticsokokokn/a

Audited Feature Families ​

Feature FamilyStatus
paginationok
janitor/leaksclean

Released under the MIT License.