Advertisement
kieni17

Untitled

Apr 19th, 2020
2,659
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARK 0.15 KB | None | 0 0
  1. val dataframe_query1 = octDF.filter($"brand" === "samsung").groupBy("brand").count()
  2.  
  3. dataframe_query1.explain()
  4. spark.time(dataframe_query1.show(false))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement