Azure Table Storage
Parity grade: C · SDK azure-sdk-for-go/sdk/data/aztables@v1.4.1 · last audited 2026-10-20 (3219e576)
Category: Azure · View PARITY.md on GitHub · All Services
In-memory Azure Table Storage with an Azurite-compatible wire protocol (REST, JSON and OData), a full $filter grammar and EDM type fidelity.
Quick start
bash
curl -X POST "http://localhost:10002/devstoreaccount1/Tables" \
-H "Content-Type: application/json" --data '{"TableName":"my-table"}'
curl -X POST "http://localhost:10002/devstoreaccount1/my-table" \
-H "Content-Type: application/json" \
--data '{"PartitionKey":"p1","RowKey":"r1","Name":"example"}'
curl "http://localhost:10002/devstoreaccount1/my-table()?\$filter=PartitionKey%20eq%20%27p1%27"Go SDK:
go
cred, _ := aztables.NewSharedKeyCredential("devstoreaccount1",
"Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==")
svc, _ := aztables.NewServiceClientWithSharedKey(
"http://localhost:10002/devstoreaccount1", cred, nil)
table := svc.NewClient("my-table")
_, _ = table.CreateTable(ctx, nil)
body, _ := json.Marshal(aztables.EDMEntity{
Entity: aztables.Entity{PartitionKey: "p1", RowKey: "r1"},
Properties: map[string]any{"Name": "example"},
})
_, _ = table.AddEntity(ctx, body, nil)The account is path-style. The built-in account is Azurite's devstoreaccount1 with its published development key.
Supported operations
| Area | Operations |
|---|---|
| Account | ListTables, GetServiceProperties |
| Tables | CreateTable, DeleteTable, GetTable, SetTableACL, GetTableACL |
| Entities | InsertEntity, GetEntity ($select), QueryEntities ($filter, $top, $select), ReplaceEntity, MergeEntity, DeleteEntity |
| Batch | POST /<account>/$batch: one multipart/mixed changeset, applied atomically to one partition |
ReplaceEntitywithoutIf-Matchis an upsert.MergeEntityworks throughPATCHorX-Http-Method: MERGE.DeleteEntityrequiresIf-Match.ListTablesandQueryEntitiespage with continuation headers.- The
Acceptheader'sodata=level (nometadata,minimalmetadata,fullmetadata) is honoured.
Configuration
The table service runs on its own TCP port. Startup fails if the port is taken.
| Flag | Env | Default |
|---|---|---|
--azure-table-port | AZURE_TABLE_PORT | 10002 |
Differences from Azure
WARNING
Signatures are never verified. The Authorization header is parsed, and any credentials, or none, are accepted.
- SAS tokens are not parsed. Stored access policies are saved but not enforced.
$selectalways returnsPartitionKey,RowKeyandTimestamp, even when not listed.ListTablesignores$filter.- Set Table Service Properties and Get Table Service Stats are not routed.
GetServicePropertiesreturns an empty body.
See also the service parity audit and AZURE.md.
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 14 (13 ok, 1 partial) |
| Feature families | 8 (7 ok, 1 partial) |
| Known gaps | 5 |
| Deferred items | 1 |
| Resource leaks | clean |
Known Gaps
- $select always returns PartitionKey/RowKey/Timestamp even when not listed; real Table Storage honors $select literally (pkgs/odatatable/codec.go EncodeEntity).
- List Tables ignores $filter (table_ops.go listTables reads only $top and NextTableName).
- SAS tokens are not parsed or enforced; stored access policies set via Set Table ACL are persisted but never applied.
- Set Table Service Properties and Get Table Service Stats are not routed; Get Service Properties always returns an empty StorageServiceProperties.
- Shared Key signatures are never verified: checkAuth only parses the Authorization header.
Deferred Items
- Initial implementation pass (2026-09-04): seeded this service from scratch per AZURE.md M2 (see AZURE.md section 8). Structurally mirrors services/azurequeue's M1 implementation and PARITY.md format; no prior audit history to reconcile.
Audited Operations
14 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateTable | ok | ok | ok | ok |
DeleteTable | ok | ok | ok | ok |
ListTables | ok | ok | ok | n/a |
InsertEntity | ok | ok | ok | ok |
GetEntity | ok | ok | ok | n/a |
QueryEntities | ok | ok | ok | n/a |
ReplaceEntity | ok | ok | ok | ok |
MergeEntity | ok | ok | ok | ok |
DeleteEntity | ok | ok | ok | ok |
Batch | ok | ok | ok | ok |
GetServiceProperties | partial | n/a | n/a | n/a |
GetTable | ok | ok | ok | n/a |
SetTableACL | ok | ok | ok | ok |
GetTableACL | ok | ok | ok | n/a |
Audited Feature Families
| Feature Family | Status |
|---|---|
auth | partial |
wire_protocol | ok |
odata_filter | ok |
edm_types | ok |
etag_and_timestamp | ok |
persistence | ok |
routing_isolation | ok |
observability | ok |
