diff --git a/table/table.go b/table/table.go index a4307a6..b93bf7f 100644 --- a/table/table.go +++ b/table/table.go @@ -57,6 +57,11 @@ func New(m Metadata) *Table { return t } +// Metadata returns copy of table metadata. +func (t *Table) Metadata() Metadata { + return t.metadata +} + // Name returns table name. func (t *Table) Name() string { return t.metadata.Name