Answer Posted / Naveen Singh Kuldeep
RDDs can be created in Apache Spark using built-in functions like textFile(filePath), wholeTextFiles(filePath), parallelize(iterable), and fromJavaRDD/fromJavaCollectionRDD. For example, val rdd = sc.textFile("input.txt").
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers