How to convert dataframe to RDD and store it in Cassandra in Spark Scala. Consider an example like below,
emp_id| emp_city|emp_name
1|Hyderabad| ram
4| Banglore| deeksha
Here I am using only 3 columns as an example but I need to deal with 18 columns actually.