Shane works in an analytics project and would like to perform analysis using Spark core. He need to load the dataset(/transacthdfs/transact.csv) in to the spark area and analyze it using Spark logic. Which below method is NOT RIGHT about loading a file in to Spark RDD ?
sc.textFile("/salehdfs/sale.csv");
sc.loadFile("/salehdfs/sale.csv");
sc.load("/salehdfs/sale.csv");
sc.save("/salehdfs/sale.csv");
To get all Infosys Certified Spark Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee