function parquetSchema({ schema }) {
  return getSchemaPath(schema, [])[0]
}
Return a tree of schema elements from parquet metadata.

@param {{schema: SchemaElement[]}} metadata parquet metadata object
@returns {SchemaTree} tree of schema elements