Skip to content

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 ​

AreaOperations
AccountListTables, GetServiceProperties
TablesCreateTable, DeleteTable, GetTable, SetTableACL, GetTableACL
EntitiesInsertEntity, GetEntity ($select), QueryEntities ($filter, $top, $select), ReplaceEntity, MergeEntity, DeleteEntity
BatchPOST /<account>/$batch: one multipart/mixed changeset, applied atomically to one partition
  • ReplaceEntity without If-Match is an upsert. MergeEntity works through PATCH or X-Http-Method: MERGE. DeleteEntity requires If-Match.
  • ListTables and QueryEntities page with continuation headers.
  • The Accept header's odata= level (nometadata, minimalmetadata, fullmetadata) is honoured.

Configuration ​

The table service runs on its own TCP port. Startup fails if the port is taken.

FlagEnvDefault
--azure-table-portAZURE_TABLE_PORT10002

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.
  • $select always returns PartitionKey, RowKey and Timestamp, even when not listed.
  • ListTables ignores $filter.
  • Set Table Service Properties and Get Table Service Stats are not routed. GetServiceProperties returns an empty body.

See also the service parity audit and AZURE.md.

Parity & Coverage ​

MetricValue
PARITY entries audited14 (13 ok, 1 partial)
Feature families8 (7 ok, 1 partial)
Known gaps5
Deferred items1
Resource leaksclean

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
OperationWireErrorsStatePersist
CreateTableokokokok
DeleteTableokokokok
ListTablesokokokn/a
InsertEntityokokokok
GetEntityokokokn/a
QueryEntitiesokokokn/a
ReplaceEntityokokokok
MergeEntityokokokok
DeleteEntityokokokok
Batchokokokok
GetServicePropertiespartialn/an/an/a
GetTableokokokn/a
SetTableACLokokokok
GetTableACLokokokn/a

Audited Feature Families ​

Feature FamilyStatus
authpartial
wire_protocolok
odata_filterok
edm_typesok
etag_and_timestampok
persistenceok
routing_isolationok
observabilityok

Released under the MIT License.