Hary wants to manually set the number of partitions to 100, while loading a dataset(/salehdfs/sale.tsv) in to an RDD. Which of the given options is the correct syntax to be used by Hary?
sc.textFile("/salehdfs/sale.tsv",10)
sc.textFile(100,"/salehdfs/sale.tsv",10,10)
sc.textFile("/salehdfs/sale.tsv",100)
sc.textFile("/salehdfs/sale.tsv").setPartiton(100)
To get all Infosys Certified Spark Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee