(err error)
| 335 | |
| 336 | if len(args) > 0 { |
| 337 | query = interpolateArgs(query, args) |
| 338 | } |
| 339 | |
| 340 | reqCtx, cancel := e.mergedContext(ctx) |
| 341 | defer cancel() |
| 342 | |
| 343 | reqCtx = e.withSession(reqCtx) |
| 344 | |
| 345 | // Note: we hand-roll the DoPut here instead of calling |
| 346 | // flightsql.Client.ExecuteUpdate so we can capture the gRPC trailer. |
| 347 | // ExecuteUpdate is a bidi-streaming RPC and grpc.Trailer(&md) as a |
| 348 | // CallOption only works for unary RPCs — for streams the trailer is |
| 349 | // only reachable via stream.Trailer() after Recv returns io.EOF. |
| 350 | // Without that capture the worker's per-query profiling JSON is |
no test coverage detected