Create Hive table from CSVfile

Create Hive table from CSVfile

Hi, Using the following code I create a Thrift Server including a Hive table from CSV file and I expect it considers the first line as a header but when I select data from the so-called table, I see it considers the CSV header as data row! It seems the line "TBLPROPERTIES(skip.header.line.count = 1)" didn't work! Is there any way to do that using the SparkSQL?