For example, the result of this:
df.filter("project = 'en'").select("title","count").groupBy("title").sum()
would return an Array.
How to save a spark DataFrame as a csv file on disk ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…