Reading CSV files in spark:
We need few options to load csv files:
delimiter : Separator between each file, for example (comma, pipe, tab).
header : True if file has header, False when file doesn't have header.
inferSchema : Spark can intelligently read the data in file and predict data type of each column
Comments
Post a Comment