title: how to get the column names and their datatypes of parquet file using pyspark?
body: <p>i have a parquet file on my hadoop cluster ,i want to capture the column names and their datatypes and write it on a textfile.how to get the column names and their datatypes of parquet file using pyspark.</p>