Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. // way 1
  2. conditionsCountRDD = conditionRDD.map( condition=> /* ES count query with condition */)
  3.  
  4. // way 2
  5. ESDataDF = /* get es data as DF */
  6. conditionsCountRDD = conditionRDD.map( condition=> /* DF.filter with condition */)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement