MCPcopy Create free account
hub / github.com/PostHog/duckgres / LastProfilingOutput

Method LastProfilingOutput

server/sqlcore/interfaces.go:59–59  ·  view source on GitHub ↗

LastProfilingOutput returns the JSON profiling output from the last executed query, or "" if profiling is not enabled or not available (e.g. Flight SQL mode where the query ran on a remote worker).

()

Source from the content-addressed store, hash-verified

57 Close() error
58}
59
60// QueryExecutor abstracts database query execution, allowing both local
61// (*sql.DB) and remote (Arrow Flight SQL) backends.
62type QueryExecutor interface {

Callers 1

EnrichSpanWithProfilingFunction · 0.65

Implementers 5

LocalExecutorserver/executor.go
PinnedExecutorserver/executor.go
profilingOutputExecutorserver/profiling_test.go
countingExecutorserver/sessionmeta/sessionmeta_test.go
FlightExecutorserver/flightclient/flight_executor.go

Calls

no outgoing calls

Tested by

no test coverage detected