Generating Parquet schema from a table

Has anyone ever attempted to generated a parquet file schema definition from a table using a macro or other mechanism?

No Data
  • For the physical model, select Hive at the database type.  On each table, you can specify the storage properties for parquet.  You'll also have to configure the DDL to generate the additional properties.  

    It is manual and time consuming to add the properties to each table. I intend to create a macro to do it.  I was hoping to find one here. No luck though.