[documents] fix rating query on doc table

2 jobs for 475-dev-node-team-invite in 0 seconds (queued for 112 minutes and 31 seconds)
Status Job ID Name Coverage
  Test
failed #5891
deps

failed #5892
test

 
Name Stage Failure
failed
test Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace
failed
deps Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace