MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

↓ 1 callersFunctionvalidateSharedWorkerConfig
(data []byte)
controlplane/shared_startup_config.go:62
↓ 1 callersFunctionvalidatedSchema
(schema string)
tests/perf/publisher/publisher.go:332
↓ 1 callersMethodvisitDelete
(stmt *pg_query.DeleteStmt)
transpiler/transform/boolpredicates.go:116
↓ 1 callersMethodvisitInsert
(stmt *pg_query.InsertStmt)
transpiler/transform/boolpredicates.go:79
↓ 1 callersMethodvisitMerge
(stmt *pg_query.MergeStmt)
transpiler/transform/boolpredicates.go:133
↓ 1 callersMethodvisitSelect
(stmt *pg_query.SelectStmt)
transpiler/transform/boolpredicates.go:52
↓ 1 callersMethodvisitUpdate
(stmt *pg_query.UpdateStmt)
transpiler/transform/boolpredicates.go:99
↓ 1 callersFunctionwaitForCacheProxy
waitForCacheProxy blocks until the local cache proxy responds healthy. When the cache is disabled, returns immediately (no-op). If the worker starts
duckdbservice/cache_proxy.go:112
↓ 1 callersMethodwaitForDrain
waitForDrain blocks until both the pgwire and Flight server report zero in-flight work, or the timeout fires. timeout == 0 means unbounded — k8s termi
controlplane/control.go:1720
↓ 1 callersFunctionwaitForDuckgres
(ctx context.Context)
scripts/client-compat/clients/pgx/main.go:108
↓ 1 callersFunctionwaitForDuckgres
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:92
↓ 1 callersMethodwaitForDuckgres
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:85
↓ 1 callersMethodwaitForDuckgres
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:99
↓ 1 callersFunctionwaitForListen
waitForListen blocks until something accepts on the local port (the port-forward is up) or the timeout elapses.
controlplane/admin/devserver/main.go:183
↓ 1 callersMethodwaitForLogCount
(substr string, want int, timeout time.Duration)
tests/controlplane/controlplane_test.go:248
↓ 1 callersFunctionwaitForPGWireReady
(dsn string, timeout time.Duration)
tests/perf/harness_test.go:394
↓ 1 callersMethodwaitForPodReady
waitForPodReady waits for a pod to become Running with an IP, using the informer instead of polling the API. Falls back to a single API check in case
controlplane/k8s_pool_spawn.go:461
↓ 1 callersMethodwaitForUpserts
(t *testing.T, count int, timeout time.Duration)
controlplane/runtime_tracker_test.go:39
↓ 1 callersFunctionwaitForWorker
waitForWorker polls for the worker socket and creates a Flight SQL client.
controlplane/worker_mgr.go:516
↓ 1 callersFunctionwaitForWorkerTCP
waitForWorkerTCP connects to a worker over TCP and verifies its health.
controlplane/k8s_pool_spawn.go:492
↓ 1 callersMethodwaitOperationIdle
(ctx context.Context)
duckdbservice/service.go:277
↓ 1 callersFunctionwait_for_duckgres
()
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:70
↓ 1 callersFunctionwait_for_duckgres
()
scripts/client-compat/clients/tokio-postgres/src/main.rs:109
↓ 1 callersFunctionwait_for_duckgres
Poll duckgres until it's ready.
scripts/client-compat/clients/dbt/test_dbt.py:53
↓ 1 callersFunctionwait_for_duckgres
()
scripts/client-compat/clients/pgadmin/test_pgadmin.py:50
↓ 1 callersFunctionwait_for_duckgres
()
scripts/client-compat/clients/psycopg/test_psycopg.py:39
↓ 1 callersFunctionwalkCreateStmt
(stmt *pg_query.CreateStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:393
↓ 1 callersFunctionwalkDeleteStmt
(stmt *pg_query.DeleteStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:379
↓ 1 callersMethodwalkForDependencies
walkForDependencies recursively finds CTE references
transpiler/transform/writablecte.go:160
↓ 1 callersFunctionwalkInsertStmt
(stmt *pg_query.InsertStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:342
↓ 1 callersFunctionwalkSelectStmt
(stmt *pg_query.SelectStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:302
↓ 1 callersMethodwalkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/pgcatalog.go:692
↓ 1 callersMethodwalkSelectStmt
(stmt *pg_query.SelectStmt, paramCount *int, changed *bool)
transpiler/transform/placeholder.go:201
↓ 1 callersMethodwalkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/typecast.go:282
↓ 1 callersMethodwalkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/information_schema.go:238
↓ 1 callersMethodwalkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/version.go:159
↓ 1 callersFunctionwalkUpdateStmt
(stmt *pg_query.UpdateStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:359
↓ 1 callersFunctionworkerContainerStatus
(statuses []corev1.ContainerStatus)
controlplane/k8s_pool_helpers.go:245
↓ 1 callersFunctionworkerImageForPod
(pod *corev1.Pod)
controlplane/k8s_pool_reconcile.go:158
↓ 1 callersMethodworkerLeaseDurablyDrainingOrRepair
(lease workerLeaseSnapshot)
controlplane/k8s_pool_lifecycle.go:1091
↓ 1 callersMethodworkerLeaseLocallyDraining
(lease workerLeaseSnapshot)
controlplane/k8s_pool_lifecycle.go:1084
↓ 1 callersFunctionworkerLifecycleImages
(stats []configstore.WorkerLifecycleStats)
controlplane/pool_metrics.go:74
↓ 1 callersFunctionworkerLostEligibleStates
workerLostEligibleStates lists the worker states from which a worker may be moved to `lost`. `draining` is intentionally excluded: a draining row is a
controlplane/configstore/store.go:1765
↓ 1 callersMethodworkerRPCSecretPrefix
()
controlplane/worker_rpc_security.go:99
↓ 1 callersMethodworkerReadyForSchedulingLocked
(w *ManagedWorker)
controlplane/org_reserved_pool.go:443
↓ 1 callersMethodworkerServiceAccountName
()
controlplane/k8s_pool.go:253
↓ 1 callersFunctionwrapBooleanTestWithNullCase
(expr *pg_query.Node, boolTestType pg_query.BoolTestType, location int32)
transpiler/transform/boolpredicates.go:355
↓ 1 callersFunctionwriteCommandLogs
(dir, commandName string, result CommandResult, secret string)
tests/scenario/dbt/steps.go:300
↓ 1 callersFunctionwriteEvents
(path string, results []StepResult)
tests/scenario/core/artifacts.go:139
↓ 1 callersFunctionwriteFixtureCSVFile
(t *testing.T, runDir string)
tests/perf/publisher/publisher_test.go:325
↓ 1 callersFunctionwriteFrozenDatasetMetadataArtifact
( outputDir string, datasetVersion string, manifestTable string, catalogPath string, now func() time.Time
tests/perf/harness_artifacts.go:43
↓ 1 callersFunctionwriteStepResults
(path string, results []StepResult)
tests/scenario/core/artifacts.go:96
↓ 1 callersFunctionwriteSummary
(path string, summary RunSummary)
tests/scenario/core/artifacts.go:79
↓ 1 callersMethodwriteTo
writeTo replays the captured origin response onto w. Any header the origin set that isn't a hop-by-hop is forwarded; status code and body follow.
cmd/cache-proxy/proxy.go:637
MethodAckComputeUsage
(high time.Time)
controlplane/compute_billing_api_test.go:53
MethodAckComputeUsage
AckComputeUsage commits billing's watermark: it advances the cursor to watermarkHigh (monotonically — an older value never moves it backwards) and del
controlplane/configstore/compute_usage.go:152
MethodAcquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:157
MethodAcquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:352
MethodAcquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:361
MethodAcquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:373
MethodAcquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/org_reserved_pool_reconnect_test.go:20
MethodAcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/org_router_test.go:22
MethodAcquireWorker
(ctx context.Context, profile *WorkerProfile)
controlplane/org_router_test.go:211
MethodAcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:26
MethodAcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:63
MethodAcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:257
MethodAcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:291
MethodAcquireWorker
AcquireWorker returns a worker for a new session.
controlplane/k8s_pool_acquire.go:25
MethodAcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_test.go:34
FunctionActivateDBConnection
ActivateDBConnection applies tenant-specific DuckLake runtime to an already initialized generic DuckDB connection used by a shared warm worker.
server/server.go:1275
MethodActiveConnections
ActiveConnections returns the number of active connections
server/server.go:698
FunctionAddOperatorDialog
({ existing, onClose, }: { existing: Operator[]; onClose: () => void; })
controlplane/admin/ui/src/pages/ConfigStore.tsx:423
FunctionAdminGate
({ children, reason = "Requires the admin role", }: { children: ReactElement<{ disabled?: boolean }>;
controlplane/admin/ui/src/components/AdminOnly.tsx:9
MethodAggregateComputeUsage
(low, high time.Time)
controlplane/compute_billing_api_test.go:34
MethodAggregateComputeUsage
AggregateComputeUsage sums every buffered bucket in the half-open window (low, high] into one row per key per UTC day, for the billing pull API. Calle
controlplane/configstore/compute_usage.go:103
MethodAllOrgStats
()
controlplane/multitenant.go:65
MethodAllOrgStats
()
controlplane/admin/live_aggregate_test.go:57
MethodAllSessionStatuses
()
controlplane/multitenant.go:121
MethodAllSessionStatuses
()
controlplane/admin/live_aggregate_test.go:59
MethodAllSessions
()
controlplane/memory_rebalancer_test.go:14
MethodAllSessions
AllSessions returns a snapshot of all active sessions. The returned slice is safe to iterate without holding the lock.
controlplane/session_mgr.go:1051
MethodAllWorkerStatuses
()
controlplane/multitenant.go:88
MethodAllWorkerStatuses
()
controlplane/admin/live_aggregate_test.go:58
FunctionApp
()
controlplane/admin/ui/src/App.tsx:19
FunctionAppShell
({ children }: { children: ReactNode })
controlplane/admin/ui/src/components/AppShell.tsx:5
FunctionAudit
()
controlplane/admin/ui/src/pages/Audit.tsx:36
MethodAuthenticate
(context.Context, ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:402
MethodAuthenticateBasicToken
(ctx context.Context, username string, password string, opts ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:406
FunctionBadge
({ className, variant, ...props }: BadgeProps)
controlplane/admin/ui/src/components/ui/badge.tsx:27
MethodBeginTx
(ctx context.Context, opts *sql.TxOptions)
tests/perf/publisher/publisher.go:80
MethodBeginTx
(context.Context, *sql.TxOptions)
tests/perf/publisher/publisher_test.go:21
FunctionBenchmarkClassify
(b *testing.B)
transpiler/transpiler_test.go:4649
FunctionBenchmarkClassify_PgCatalog
(b *testing.B)
transpiler/transpiler_test.go:4659
FunctionBenchmarkTranspile_CreateTable
(b *testing.B)
transpiler/transpiler_test.go:1886
FunctionBenchmarkTranspile_Direct
(b *testing.B)
transpiler/transpiler_test.go:4627
FunctionBenchmarkTranspile_OldAllTransforms
(b *testing.B)
transpiler/transpiler_test.go:4638
FunctionBenchmarkTranspile_PgCatalog
(b *testing.B)
transpiler/transpiler_test.go:1876
FunctionBenchmarkTranspile_SimpleSelect
(b *testing.B)
transpiler/transpiler_test.go:1866
FunctionBootstrapBundledExtensions
BootstrapBundledExtensions eagerly seeds bundled extension binaries into the configured extension_directory cache once per data directory.
server/server.go:101
MethodBumpWorkerEpoch
BumpWorkerEpoch satisfies the RuntimeWorkerStore extension added in PR 3. Track-and-return-newepoch so tests can exercise the lifecycle service's Refr
controlplane/k8s_pool_test.go:310
← previousnext →2,901–3,000 of 5,901, ranked by callers