I recently built a Rust library that allows you to query Impala databases for an API that needs to query data from Impala. The library interfaces with an Impala…
To be honest it’s a bit strange to me, but that’s how the interface works. The consumer is expected to poll via the interface until a TOperationState::FINISHED_STATE is returned, which means that the query is “done”.
What was the reason for that
sleep
, in the first place?To be honest it’s a bit strange to me, but that’s how the interface works. The consumer is expected to poll via the interface until a
TOperationState::FINISHED_STATE
is returned, which means that the query is “done”.