Guest User

Untitled

a guest
May 23rd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. val channelChangesAgg = tunerDataJsonDF
  2. .withWatermark("ts2", "10 seconds")
  3. .groupBy(window(col("ts2"),"10 seconds"),
  4. col("env"),
  5. col("servicegroupid"))
  6. .agg(count("linetransactionid") as "count1")
Add Comment
Please, Sign In to add comment