Gets the current (active) schema from table metadata.
Table metadata containing schemas array and current-schema-id
The current table schema, or undefined if not found
Gets the current (active) schema from table metadata.