table_to_parquet function

Convert an input file to parquet format