MCPcopy Create free account
hub / github.com/apache/impala / FetchRows

Method FetchRows

be/src/service/client-request-state.cc:1424–1435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424Status ClientRequestState::FetchRows(const int32_t max_rows,
1425 QueryResultSet* fetched_rows, int64_t block_on_wait_time_us) {
1426 // Pause the wait timer, since the client has instructed us to do work on its behalf.
1427 MarkActive();
1428
1429 // ImpalaServer::FetchInternal has already taken our lock_
1430 discard_result(UpdateQueryStatus(
1431 FetchRowsInternal(max_rows, fetched_rows, block_on_wait_time_us)));
1432
1433 MarkInactive();
1434 return query_status_;
1435}
1436
1437Status ClientRequestState::RestartFetch() {
1438 // No result caching for this query. Restart is invalid.

Callers 3

FetchInternalMethod · 0.80
FetchAllRowsHS2Method · 0.80
FetchInternalMethod · 0.80

Calls 1

discard_resultFunction · 0.85

Tested by

no test coverage detected