MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestOnConflictTransform_FivetranPattern
(t *testing.T)
transpiler/transform/onconflict_test.go:702
FunctionTestOnConflictTransform_InsertClauseValues
(t *testing.T)
transpiler/transform/onconflict_test.go:622
FunctionTestOnConflictTransform_InsertSelectDoNothing
(t *testing.T)
transpiler/transform/onconflict_test.go:765
FunctionTestOnConflictTransform_JoinCondition
(t *testing.T)
transpiler/transform/onconflict_test.go:510
FunctionTestOnConflictTransform_MergeWhenClauses
(t *testing.T)
transpiler/transform/onconflict_test.go:359
FunctionTestOnConflictTransform_Name
(t *testing.T)
transpiler/transform/onconflict_test.go:10
FunctionTestOnConflictTransform_NoTransformCases
(t *testing.T)
transpiler/transform/onconflict_test.go:263
FunctionTestOnConflictTransform_NonDuckLakeMode
(t *testing.T)
transpiler/transform/onconflict_test.go:17
FunctionTestOnConflictTransform_PreservesTableName
(t *testing.T)
transpiler/transform/onconflict_test.go:308
FunctionTestOnConflictTransform_SourceSubquery
(t *testing.T)
transpiler/transform/onconflict_test.go:440
FunctionTestOnWorkerCrash_ClosesConnections
(t *testing.T)
controlplane/session_mgr_test.go:192
FunctionTestOnWorkerCrash_MarksExecutorsDead
(t *testing.T)
controlplane/session_mgr_test.go:153
FunctionTestOnWorkerCrash_MultipleSessions
(t *testing.T)
controlplane/session_mgr_test.go:219
FunctionTestOpenBaseDBCreatesDataDir
(t *testing.T)
server/server_test.go:730
FunctionTestOpenBaseDBFilePersistence
(t *testing.T)
server/server_test.go:595
FunctionTestOpenBaseDBFilePersistenceFallsBackWithoutDataDir
(t *testing.T)
server/server_test.go:632
FunctionTestOpenBaseDBFilePersistenceFallsBackWithoutUsername
(t *testing.T)
server/server_test.go:653
FunctionTestOpenBaseDBFilePersistenceRejectsPathTraversal
(t *testing.T)
server/server_test.go:699
FunctionTestOpenBaseDBInMemoryByDefault
(t *testing.T)
server/server_test.go:577
FunctionTestOpenCountsHitOpenFileDoesNot
TestOpenCountsHitOpenFileDoesNot locks in the metric split: serving a hit via Open records a cache hit; serving a freshly-fetched miss via openFile do
cmd/cache-proxy/cache_test.go:337
FunctionTestOperatorTransform_AggFilter
(t *testing.T)
transpiler/transform/wiring_ops_test.go:53
FunctionTestOperatorTransform_AggOrder
(t *testing.T)
transpiler/transform/wiring_ops_test.go:61
FunctionTestOperatorTransform_ArrayContainsUnchanged
(t *testing.T)
transpiler/transform/literals_test.go:76
FunctionTestOperatorTransform_ArrayExpr
(t *testing.T)
transpiler/transform/wiring_ops_test.go:88
FunctionTestOperatorTransform_DeleteReturning
(t *testing.T)
transpiler/transform/wiring_ops_test.go:37
FunctionTestOperatorTransform_DeleteUsing
(t *testing.T)
transpiler/transform/wiring_ops_test.go:45
FunctionTestOperatorTransform_DistinctOn
(t *testing.T)
transpiler/transform/wiring_ops_test.go:99
FunctionTestOperatorTransform_DoubleArrowConcatUnchanged
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:151
FunctionTestOperatorTransform_InlineWindowDef
(t *testing.T)
transpiler/transform/wiring_ops_test.go:69
FunctionTestOperatorTransform_InsertReturning
(t *testing.T)
transpiler/transform/wiring_ops_test.go:21
FunctionTestOperatorTransform_JSONBConcatArrays
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:61
FunctionTestOperatorTransform_JSONBConcatBareArrowOperands
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:142
FunctionTestOperatorTransform_JSONBConcatChainedArrowRewritten
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:79
FunctionTestOperatorTransform_JSONBConcatDeparses
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:164
FunctionTestOperatorTransform_JSONBConcatMixedOperand
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:73
FunctionTestOperatorTransform_JSONBConcatObjects
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:57
FunctionTestOperatorTransform_JSONBConcatToJSONFuncOperands
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:125
FunctionTestOperatorTransform_JSONBConcatUpdateSet
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:67
FunctionTestOperatorTransform_JSONBContains
jsonb || rewrite coverage lives in operators_jsonb_concat_test.go.
transpiler/transform/literals_test.go:68
FunctionTestOperatorTransform_JSONPathExtractText
(t *testing.T)
transpiler/transform/literals_test.go:88
FunctionTestOperatorTransform_NamedWindowClause
(t *testing.T)
transpiler/transform/wiring_ops_test.go:80
FunctionTestOperatorTransform_PlainDistinctUntouched
(t *testing.T)
transpiler/transform/wiring_ops_test.go:107
FunctionTestOperatorTransform_StringConcatUnchanged
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:92
FunctionTestOperatorTransform_TextReturningJSONFuncConcatUnchanged
(t *testing.T)
transpiler/transform/operators_jsonb_concat_test.go:104
FunctionTestOperatorTransform_UpdateReturning
(t *testing.T)
transpiler/transform/wiring_ops_test.go:29
FunctionTestOperatorTransform_ValuesLists
Regression tests for expression positions the OperatorTransform manual walk used to miss. An untransformed `~` binds to DuckDB's regexp_full_match, si
transpiler/transform/wiring_ops_test.go:13
FunctionTestOrgAcquireGateCancelledWaiterIsSkipped
A waiter whose context is cancelled while queued must not deadlock the gate: release() skips it and grants to the next live waiter.
controlplane/org_acquire_gate_test.go:64
FunctionTestOrgAcquireGateFIFOOrder
The gate must grant ownership to one holder at a time and release to waiters in FIFO arrival order — this is what stops a later connection from snatch
controlplane/org_acquire_gate_test.go:15
FunctionTestOrgConnectionAdmissionMetricsObserveAttemptsAndQueueShape
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:688
FunctionTestOrgConnectionLeasesChargeLegacyEmptyUserLeaseAgainstUserBudget
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:776
FunctionTestOrgConnectionLeasesChargeLegacyZeroVCPULeaseAsOneVCPU
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:739
FunctionTestOrgConnectionLeasesEnforceClusterWideLimit
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:813
FunctionTestOrgConnectionLeasesEnforceOrgVCPUBudget
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:32
FunctionTestOrgConnectionLeasesEnforceUserVCPUBudget
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:96
FunctionTestOrgConnectionLeasesIgnoreExpiredControlPlaneOwners
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:991
FunctionTestOrgConnectionLeasesOrgCapStopsAtFirstUnblockedUserHead
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:508
FunctionTestOrgConnectionLeasesOutOfOrderPollGrantsOldestEligibleUserHead
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:303
FunctionTestOrgConnectionLeasesPreserveFIFOAcrossControlPlanes
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:886
FunctionTestOrgConnectionLeasesQueueUsesEachUsersOwnLimit
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:227
FunctionTestOrgConnectionLeasesReordersUserQueueAfterHeadGranted
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:617
FunctionTestOrgConnectionLeasesUserCapDoesNotBlockOtherUsers
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:149
FunctionTestOrgConnectionLeasesUserCapSkipDoesNotBypassSameUserFIFO
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:416
FunctionTestOrgConnectionQueueUsesDatabaseInsertionTimeForFIFO
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:939
FunctionTestOrgDefaultWorkerMinHotIdle
(t *testing.T)
controlplane/configstore/store_test.go:554
FunctionTestOrgDefaultWorkerProfile
(t *testing.T)
controlplane/configstore/store_test.go:514
FunctionTestOrgReservedPoolAbandonedSpawnActivationFailureRetiresWorker
If the requester abandons mid-spawn and the detached activation then FAILS, the worker must be retired exactly like the synchronous activation-failure
controlplane/org_reserved_pool_test.go:540
FunctionTestOrgReservedPoolAbandonedSpawnParksHotIdleAndIsReclaimed
A requester that gives up (ctx cancelled) mid-spawn must NOT doom the spawn: the spawn+activate continues on its detached context, the finished worker
controlplane/org_reserved_pool_test.go:336
FunctionTestOrgReservedPoolAcquireFailsClearlyAtOrgCap
At the org's max concurrent workers with all of them busy, AcquireWorker must fail FAST with the clear org-cap message — not busy-wait until the clien
controlplane/org_reserved_pool_test.go:291
FunctionTestOrgReservedPoolAcquireObservesPhaseMetrics
TestOrgReservedPoolAcquireObservesPhaseMetrics asserts a successful slow-path acquisition (no idle worker → gate → spawn → activate) records one sampl
controlplane/acquire_metrics_test.go:72
FunctionTestOrgReservedPoolAcquireReservesOrgWorker
(t *testing.T)
controlplane/org_reserved_pool_test.go:16
FunctionTestOrgReservedPoolAcquireSkipsOtherOrgsWorkers
(t *testing.T)
controlplane/org_reserved_pool_test.go:54
FunctionTestOrgReservedPoolAcquireUnboundedWhenMaxWorkersZero
TestOrgReservedPoolAcquireUnboundedWhenMaxWorkersZero confirms that MaxWorkers == 0 means "no per-org cap" in K8s mode. The load test that motivated t
controlplane/org_reserved_pool_test.go:248
FunctionTestOrgReservedPoolColdBurstSpawnsInParallel
A cold burst of N waiters under the org cap must ramp N spawns IN PARALLEL: the per-org FIFO gate covers only the short claim/slot decision, not the m
controlplane/org_reserved_pool_test.go:472
FunctionTestOrgReservedPoolReleaseWorkerTransitionsToHotIdleOnLastSession
(t *testing.T)
controlplane/org_reserved_pool_test.go:136
FunctionTestOrgReservedPoolWorkerCount
TestOrgReservedPoolWorkerCount covers the per-org worker count surfaced to the admin Overview load bars: it counts this org's cap-counting (Hot) worke
controlplane/org_reserved_pool_test.go:102
FunctionTestOrgReservedWorkerPoolAcquireActivatesReservedWorkerWhenEnabledWithOrgConfig
(t *testing.T)
controlplane/org_reserved_pool_test.go:166
FunctionTestOrgReservedWorkerPoolAcquireDelegatesActivationWithoutCachedTenantRuntime
(t *testing.T)
controlplane/org_reserved_pool_test.go:202
FunctionTestOrgRoutedSessionProviderConcurrentDestroys
(t *testing.T)
controlplane/flight_ingress_test.go:156
FunctionTestOrgRoutedSessionProviderDestroySessionRemovesPid
(t *testing.T)
controlplane/flight_ingress_test.go:125
FunctionTestOrgRoutedSessionProviderDestroyUnknownPidNoOp
(t *testing.T)
controlplane/flight_ingress_test.go:146
FunctionTestOrgRoutedSessionProviderFailsClosedWhenSNIUnresolved
TestOrgRoutedSessionProviderFailsClosedWhenSNIUnresolved: if the connection's SNI no longer resolves to an org, no session is created (fail closed).
controlplane/flight_ingress_test.go:78
FunctionTestOrgRoutedSessionProviderReconnectSessionUsesDurableOrgID
(t *testing.T)
controlplane/flight_ingress_test.go:95
FunctionTestOrgRoutedSessionProviderRoutesByContextSNINotUsername
TestOrgRoutedSessionProviderRoutesByContextSNINotUsername proves the fix for the username-collision: two connections sharing the username "alice" but
controlplane/flight_ingress_test.go:49
FunctionTestOrgRouterCreateOrgStackActivatesUsingLatestSnapshotThroughSharedWorkerActivator
(t *testing.T)
controlplane/org_router_test.go:236
FunctionTestOrgRouterDestroyOrgStackDrainsSessionsBeforePoolShutdownAndReleasesSessionLeases
(t *testing.T)
controlplane/org_router_test.go:62
FunctionTestOrgRouterHandleConfigChangeRefreshesDefaultWorkerMinHotIdle
(t *testing.T)
controlplane/org_router_test.go:181
FunctionTestOrgRouterHandleConfigChangeRefreshesOrgWorkerImage
(t *testing.T)
controlplane/org_router_test.go:144
FunctionTestOrgRouterHandleConfigChangeRefreshesRuntimeOnlyUpdates
(t *testing.T)
controlplane/org_router_test.go:102
FunctionTestOrgRouterMigrationLock
(t *testing.T)
controlplane/migration_lock_test.go:16
FunctionTestOrgWarehouseStatus
(t *testing.T)
controlplane/configstore/store_test.go:459
FunctionTestOriginFetchMetricLabels
(t *testing.T)
cmd/cache-proxy/proxy_test.go:501
FunctionTestOverrideS3EndpointForCacheProxy
(t *testing.T)
duckdbservice/cache_proxy_test.go:9
FunctionTestPGWireDSNForHarnessAddsKeywordPasswordWhenMissing
(t *testing.T)
tests/perf/harness_dsn_test.go:5
FunctionTestPGWireDSNForHarnessAddsURLPasswordWhenMissing
(t *testing.T)
tests/perf/harness_dsn_test.go:27
FunctionTestPGWireDSNForHarnessLeavesDSNUnchangedWithoutPassword
(t *testing.T)
tests/perf/harness_dsn_test.go:49
FunctionTestPGWireDSNForHarnessPreservesExistingKeywordPassword
(t *testing.T)
tests/perf/harness_dsn_test.go:16
FunctionTestPGWireDSNForHarnessPreservesExistingURLPassword
(t *testing.T)
tests/perf/harness_dsn_test.go:38
FunctionTestParseBasicCredentials
(t *testing.T)
server/flightsqlingress/ingress_test.go:438
FunctionTestParseBasicCredentialsInvalid
(t *testing.T)
server/flightsqlingress/ingress_test.go:452
FunctionTestParseCatalogRejectsDuplicateQueryIDs
(t *testing.T)
tests/perf/core/catalog_test.go:41
← previousnext →4,801–4,900 of 5,901, ranked by callers