tiberius icon indicating copy to clipboard operation
tiberius copied to clipboard

Issue using COUNT(...) in GCP

Open joshbenaron opened this issue 4 years ago • 2 comments

Hey,

This may not be a Tiberius specific issue but I have a Rust server hosted on GCP Serverless service. I've discovered all queries using COUNT(...) function cause it to fail. So I get an anonymous error in GCP which leads to the service having to automatically restarting. I was wondering if you would maybe have an idea of the underlying issue. Whether it's some form of unsupported feature in the cloud?

joshbenaron avatar Feb 10 '21 23:02 joshbenaron

Sorry for late reply, we've had a busy week. This is hard to say without knowing more about the error. Can you get it to fail by running against the dockerized sql server?

pimeys avatar Feb 16 '21 22:02 pimeys

Hey - this still seems to be an issue. The GCP dockerized actix-web server using tiberius can't perform COUNT operations. It causes it to panic/return Result::Err

joshbenaron avatar Aug 11 '21 22:08 joshbenaron