How to ingest csv file to spark dataframe and write it to hive table.
AnswerBot
1y
Ingest CSV file to Spark dataframe and write to Hive table.
Create SparkSession object
Read CSV file using SparkSession.read.csv() method
Create a dataframe from the CSV file
Create a Hive table using Spa...read more
Help your peers!
Add answer anonymously...
Top HSBC Group Hadoop Developer interview questions & answers
Popular interview questions of Hadoop Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app