[Solved] NullPointerException on DataFrame where

[ad_1]

you cannot use dataframes in RDD code (you use dataframes in days.foreach), th dataframes are null here as it only lives on the driver, but not on the executors

1

[ad_2]

solved NullPointerException on DataFrame where