4 ms·
I'm having a hard time understanding. I see that it's basically a queue. Request your query to be inserted, get a job_id back, poll that job_id until it is done
by MuffinFlavored 3y ago
I'm having a hard time understanding. I see that it's basically a queue. Request your query to be inserted, get a job_id back, poll that job_id until it is done.
Under the hood, is the query ran like a normal query?
I guess I don't understand the distinction between "run queries async" or "put query in a queue, run them sync one a time, poll until the one you want is done"
I get how the latter is "async".
- chuckhend 3y agoIt is similar functionality to https://docs.snowflake.com/en/developer-guide/sql-api/reference#query-parameters https://docs.snowflake.com/en/developer-guide/sql-api/refere..., the `async` flag more specifically. You submit the query and are given the job id. A background worker runs it like a normal query, but the caller can go about their business while Postgres handles it for them.