s3tables: Rename tableMetadataInternal.Schema to Metadata

The field name 'Schema' was confusing given it holds a *TableMetadata struct
and serializes as 'metadata' in JSON. Rename to 'Metadata' for clarity and
consistency with the JSON tag and intended meaning.
This commit is contained in:
Chris Lu
2026-01-28 16:21:06 -08:00
parent 191a858e72
commit fb8390c6a7

View File

@@ -106,7 +106,7 @@ type tableMetadataInternal struct {
OwnerAccountID string `json:"ownerAccountId"`
VersionToken string `json:"versionToken"`
MetadataLocation string `json:"metadataLocation,omitempty"`
Schema *TableMetadata `json:"metadata,omitempty"`
Metadata *TableMetadata `json:"metadata,omitempty"`
}
// Utility functions