mz_storage_operators::oneshot_source

Function render_fetch_work

Source
pub fn render_fetch_work<G, S, F>(
    scope: G,
    collection_id: GlobalId,
    source: S,
    format: F,
    work_requests: &Stream<G, Result<F::WorkRequest<S>, StorageErrorX>>,
) -> (Stream<G, Result<F::RecordChunk, StorageErrorX>>, PressOnDropButton)
where G: Scope, S: OneshotSource + Sync + 'static, F: OneshotFormat + Sync + 'static,
Expand description

Render an operator that given a stream OneshotFormat::WorkRequests will fetch chunks of the remote OneshotSource::Object and return a stream of OneshotFormat::RecordChunks that can be decoded into Rows.