[Solved] NullPointerException on DataFrame where


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

solved NullPointerException on DataFrame where