As i am new to Spark community, can anyone explain how to create PySpark RDD from database table. I can create PySpark RDD from CSV file using textFile() method of SparkContext method. But I don't know creating PySpark RDD from database table.
How to create PySpark RDD from any database table?
657 views Asked by bhrgv At
1
Using pyspark,
df
(dataframe) will now have your rows that you can play with using Spark API. For e.g.