Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. aggregate_work_experiences
  2.  
  3. preprocess work experience table in datastore to aggregate candidate work experiences on the same position.
  4.  
  5. INPUT:
  6.  
  7. datastore // elastic_search
  8.  
  9. - idUser // id_candidate
  10. - position // position_name
  11. - duration // duration_old
  12. - withinDateString // within_date_new
  13. - withinDate // within_date_old
  14. - createdAt // created_at
  15. - currentlyWorking // currently_working
  16. - idWorkExperience // work_experience_id
  17.  
  18. OUTPUT:
  19.  
  20. - id_candidate: unique candidate id // STR
  21. - position_wexp: position for the reported work experience // STR
  22. - wexp_duration_months: summed duration of all work experiences reported by the candidate on position // INT
  23. - wexps_on_position: number of work experiences reported by the candidate // INT
  24. - currently_working: whether the candidate is currently working on a job on position or not // BOOL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement