title: Identify Partition Key Column from a table using PySpark
body: <p>I need help to find the unique partitions column names for a Hive table using PySpark. The table might have multiple partition columns and preferable the output should return a list of the partition columns for the Hive Table.</p>
  
  <p>It would be great if the result would also include the datatype of the partitioned columns.</p>
  
  <p>Any suggestions will be helpful.</p>