FlightRowSet wraps an Arrow Flight RecordBatch reader to implement RowSet.
| 489 | |
| 490 | func (e *FlightExecutor) forwardQueryLogEntry(ctx context.Context, entry wire.QueryLogEntry) (err error) { |
| 491 | if e.dead.Load() { |
| 492 | observe.AddQueryLogDroppedEntries("forward_worker_dead", 1) |
| 493 | return nil |
| 494 | } |
| 495 | if e.client == nil || e.client.Client == nil { |
| 496 | observe.AddQueryLogDroppedEntries("forward_unavailable", 1) |
| 497 | return nil |
| 498 | } |
| 499 | defer func() { |
| 500 | recoverClientPanic(&err) |
| 501 | if err != nil { |
| 502 | observe.AddQueryLogDroppedEntries("forward_error", 1) |
| 503 | } |
| 504 | }() |
| 505 | |
| 506 | payload, err := json.Marshal(wire.WorkerQueryLogPayload{ |
| 507 | WorkerControlMetadata: wire.WorkerControlMetadata{ |
nothing calls this directly
no outgoing calls
no test coverage detected