How can I create a hive table by reading a CSV File in HDFS where i can fetch column names (header in csv) and assign proper datatypes to it ?

hive
pyspark
apache-spark

#1

How can I create a hive table by reading a CSV File in HDFS where i can fetch column names (header in csv) and assign proper datatypes to it ?