Spark Scenario Based Question | Best Way to Find DataFrame is Empty or Not | with Demo| learntospark

preview_player
Показать описание
In this video, we will learn a Spark Scenario Based Question, which is commonly asked in many Spark Interviews. What is the best way to find my dataframe is Empty or Not.

DataSet:

Code Snippet:

Blog link to learn more on Spark:

Linkedin profile:

FB page:
Рекомендации по теме
Комментарии
Автор

Thank you brother for this problem scenario :)

bhupendrasonwane
Автор

Could you explain what happens behind the scenes when rdd's isEmpty is called and how does it get better performance. Thank you.

SuperDinuu
Автор

What is rdd I used this but what is rdd

sagarjoshi
Автор

Cant we use
df.isEmpty() directly i mean why we first converting it to rdd

vishalbhardwaj
Автор

Hi sir, please make a video on what happens when we submit a spark job?

AmitKumar-lcsm