MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestDDL_AlterDropColumnPassesThrough
(t *testing.T)
transpiler/transform/ddl_test.go:201
FunctionTestDDL_ConstraintsStrippedSilently
(t *testing.T)
transpiler/transform/ddl_test.go:34
FunctionTestDDL_DuckLakeStripsSilently
TestDDL_DuckLakeStripsSilently locks that DuckLake keeps the historical silent-strip behavior (no warn/error) so sqlmesh/dbt-issued DDL still succeeds
transpiler/transform/ddl_test.go:159
FunctionTestDDL_MemoryProfileUnaffected
(t *testing.T)
transpiler/transform/ddl_test.go:146
FunctionTestDDL_NotNullPreserved
TestDDL_NotNullPreserved locks the invariant that NOT NULL is not stripped on a lake catalog (it is the one constraint that is actually enforced).
transpiler/transform/ddl_test.go:135
FunctionTestDDL_SafeDefaultsPreserved
(t *testing.T)
transpiler/transform/ddl_test.go:112
FunctionTestDDL_SerialRewrittenToInteger
(t *testing.T)
transpiler/transform/ddl_test.go:89
FunctionTestDDL_SilentNullFeaturesStripped
(t *testing.T)
transpiler/transform/ddl_test.go:60
FunctionTestDMLDelete
TestDMLDelete tests DELETE variations
tests/integration/dml_test.go:304
FunctionTestDMLDeleteReturning
TestDMLDeleteReturning tests DELETE ... RETURNING
tests/integration/dml_test.go:368
FunctionTestDMLDeleteUsing
TestDMLDeleteUsing tests DELETE ... USING (join-style delete)
tests/integration/dml_test.go:398
FunctionTestDMLInsert
TestDMLInsert tests INSERT variations
tests/integration/dml_test.go:8
FunctionTestDMLInsertOnConflict
TestDMLInsertOnConflict tests INSERT ... ON CONFLICT (UPSERT)
tests/integration/dml_test.go:134
FunctionTestDMLInsertReturning
TestDMLInsertReturning tests INSERT ... RETURNING
tests/integration/dml_test.go:85
FunctionTestDMLUpdate
TestDMLUpdate tests UPDATE variations
tests/integration/dml_test.go:171
FunctionTestDMLUpdateFromJoin
TestDMLUpdateFromJoin tests UPDATE with FROM clause (join)
tests/integration/dml_test.go:275
FunctionTestDMLUpdateReturning
TestDMLUpdateReturning tests UPDATE ... RETURNING
tests/integration/dml_test.go:244
FunctionTestDMLWithCTE
TestDMLWithCTE tests DML with CTEs
tests/integration/dml_test.go:426
FunctionTestDQLBasicSelect
TestDQLBasicSelect tests basic SELECT statements
tests/integration/dql_test.go:8
FunctionTestDQLCTEs
TestDQLCTEs tests Common Table Expressions
tests/integration/dql_test.go:264
FunctionTestDQLCaseSensitivity
TestDQLCaseSensitivity tests case sensitivity
tests/integration/dql_test.go:423
FunctionTestDQLComplexQueries
TestDQLComplexQueries tests complex real-world queries
tests/integration/dql_test.go:433
FunctionTestDQLDistinct
TestDQLDistinct tests DISTINCT variations
tests/integration/dql_test.go:136
FunctionTestDQLGroupBy
TestDQLGroupBy tests GROUP BY and HAVING
tests/integration/dql_test.go:147
FunctionTestDQLJoins
TestDQLJoins tests JOIN variations
tests/integration/dql_test.go:173
FunctionTestDQLLimitOffset
TestDQLLimitOffset tests LIMIT and OFFSET variations
tests/integration/dql_test.go:123
FunctionTestDQLOrderBy
TestDQLOrderBy tests ORDER BY clause variations
tests/integration/dql_test.go:106
FunctionTestDQLSetOperations
TestDQLSetOperations tests UNION, INTERSECT, EXCEPT
tests/integration/dql_test.go:327
FunctionTestDQLSubqueries
TestDQLSubqueries tests subquery variations
tests/integration/dql_test.go:236
FunctionTestDQLValues
TestDQLValues tests VALUES clause
tests/integration/dql_test.go:413
FunctionTestDQLWhere
TestDQLWhere tests WHERE clause variations
tests/integration/dql_test.go:51
FunctionTestDQLWindowFunctions
TestDQLWindowFunctions tests window functions
tests/integration/dql_test.go:362
FunctionTestDashboardRejectsTokenQueryParam
Regression test for #721: the admin token must never be accepted via a URL query parameter — URL-borne secrets persist in browser history and proxy ac
controlplane/admin/dashboard_test.go:52
FunctionTestDashboardRequiresLoginThenSetsCookie
(t *testing.T)
controlplane/admin/dashboard_test.go:103
FunctionTestDatabaseNameForSNIPrefix
(t *testing.T)
controlplane/configstore/store_test.go:167
FunctionTestDbtQueries
TestDbtQueries tests queries commonly issued by dbt
tests/integration/clients/clients_test.go:461
FunctionTestDecimalValueString
(t *testing.T)
duckdbservice/arrowmap/arrowmap_test.go:12
FunctionTestDecodeBinary
(t *testing.T)
server/types_test.go:822
FunctionTestDecodeBinaryCopy
(t *testing.T)
server/conn_test.go:3110
FunctionTestDecodeBinaryCopy_FloatWidthMismatch
(t *testing.T)
server/conn_test.go:3279
FunctionTestDecodeBool
Tests for binary parameter decoding functions
server/types_test.go:542
FunctionTestDecodeDate
(t *testing.T)
server/types_test.go:751
FunctionTestDecodeFloat4
(t *testing.T)
server/types_test.go:683
FunctionTestDecodeFloat8
(t *testing.T)
server/types_test.go:717
FunctionTestDecodeInt2
(t *testing.T)
server/types_test.go:575
FunctionTestDecodeInt4
(t *testing.T)
server/types_test.go:611
FunctionTestDecodeInt8
(t *testing.T)
server/types_test.go:647
FunctionTestDecodeNumeric
(t *testing.T)
server/types_test.go:1043
FunctionTestDecodeNumericRaw
(t *testing.T)
server/types_test.go:1106
FunctionTestDecodeTimestamp
(t *testing.T)
server/types_test.go:787
FunctionTestDecodeTimestampAncient
(t *testing.T)
server/types_test.go:1360
FunctionTestDefaultDeltaCatalogPath
(t *testing.T)
server/ducklake/migration_test.go:349
FunctionTestDefaultIsNoopUntilSet
(t *testing.T)
internal/analytics/analytics_test.go:76
FunctionTestDefaultMaxWorkers
(t *testing.T)
controlplane/memory_rebalancer_test.go:81
FunctionTestDefaultRateLimitConfig
(t *testing.T)
server/auth/ratelimit_test.go:360
FunctionTestDeleteOrgRejectsWhenWarehouseStillExists
(t *testing.T)
controlplane/admin/api_test.go:1115
FunctionTestDeleteOrgSucceedsAfterWarehouseRemoved
(t *testing.T)
controlplane/admin/api_test.go:1138
FunctionTestDeltaCatalogNeedsS3Secret
(t *testing.T)
server/ducklake_test.go:65
FunctionTestDeployFailsWhenSamePRDucklingsDoNotDelete
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:11
FunctionTestDeployFailureDoesNotDumpDucklingYAML
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:26
FunctionTestDeployRejectsMissingPRNumberBeforeCleanup
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:106
FunctionTestDeprovisionEmitsAnalyticsEvent
(t *testing.T)
controlplane/provisioning/analytics_events_test.go:108
FunctionTestDeprovisionFailedWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:415
FunctionTestDeprovisionNotFoundEmitsNoEvent
(t *testing.T)
controlplane/provisioning/analytics_events_test.go:130
FunctionTestDeprovisionProvisioningWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:436
FunctionTestDeprovisionReadyWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:394
FunctionTestDeprovisionRejectsPendingWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:457
FunctionTestDestroyAllSessionsCancelsCreateBlockedInAcquireWorker
(t *testing.T)
controlplane/session_mgr_drain_test.go:818
FunctionTestDestroyAllSessionsCancelsReconnectBlockedInReconnectWorker
(t *testing.T)
controlplane/session_mgr_drain_test.go:879
FunctionTestDestroyAllSessionsRejectsInFlightCreateBeforeRegistration
(t *testing.T)
controlplane/session_mgr_drain_test.go:712
FunctionTestDestroyAllSessionsWaitsForCreateBlockedInLimiterAcquire
(t *testing.T)
controlplane/session_mgr_drain_test.go:768
FunctionTestDestroyAllSessionsWaitsForInFlightDestroySessionCleanup
(t *testing.T)
controlplane/session_mgr_drain_test.go:552
FunctionTestDestroyAllSessionsWaitsForInFlightWorkerCrashLeaseRelease
(t *testing.T)
controlplane/session_mgr_drain_test.go:615
FunctionTestDestroyAllSessions_ReleasesAllLeasesAndClearsSessions
(t *testing.T)
controlplane/session_mgr_drain_test.go:679
FunctionTestDestroySessionAfterOnWorkerCrash
(t *testing.T)
controlplane/session_mgr_test.go:398
FunctionTestDestroySessionClusterModeDiscardsConn
(t *testing.T)
duckdbservice/service_test.go:367
FunctionTestDestroySessionPreventsLateQueryHandleDrainLeak
(t *testing.T)
duckdbservice/service_test.go:822
FunctionTestDestroySessionPreventsLateSQLTransactionDrainLeak
(t *testing.T)
duckdbservice/service_test.go:855
FunctionTestDestroySessionPreventsLateTrackedTransactionDrainLeak
(t *testing.T)
duckdbservice/service_test.go:888
FunctionTestDestroySessionReleasesPendingQueryDrainWork
(t *testing.T)
duckdbservice/service_test.go:573
FunctionTestDestroySessionRetriesTransientLeaseReleaseFailure
(t *testing.T)
controlplane/session_mgr_drain_test.go:530
FunctionTestDestroySessionStandaloneModeRunsCleanup
(t *testing.T)
duckdbservice/service_test.go:424
FunctionTestDestroySessionWaitsForAcceptedConnectionWorkBeforeCleanup
(t *testing.T)
duckdbservice/service_test.go:969
FunctionTestDestroySessionWaitsForActiveConnectionWorkBeforeCleanup
(t *testing.T)
duckdbservice/service_test.go:921
FunctionTestDestroySession_ReleasesLeaseAfterWorkerRelease
(t *testing.T)
controlplane/session_mgr_drain_test.go:507
FunctionTestDestroySessionsForUser
TestDestroySessionsForUser proves the per-user kill switch tears down only the target user's sessions (cancelling their executors and closing their cl
controlplane/session_mgr_test.go:252
FunctionTestDisableEnableUnavailableWithoutUserAdmin
TestDisableEnableUnavailableWithoutUserAdmin: without a UserAdmin wired (nil), disable/enable degrade to 503 rather than panicking.
controlplane/admin/kill_switch_test.go:174
FunctionTestDisableUserNotFound
TestDisableUserNotFound: an unknown user yields 404 and does not fan out.
controlplane/admin/kill_switch_test.go:158
FunctionTestDisableUserPersistsReloadsKillsAndFansOut
TestDisableUserPersistsReloadsKillsAndFansOut: the disable endpoint persists the flag, reloads the snapshot, kills locally, and fans out to peers.
controlplane/admin/kill_switch_test.go:83
FunctionTestDisableUserScopeLocalReloadsAndKillsOnly
TestDisableUserScopeLocalReloadsAndKillsOnly: a peer disable call reloads + kills locally without re-persisting or re-fanning-out (the primary already
controlplane/admin/kill_switch_test.go:116
FunctionTestDisabledRebalancerFullBudget
(t *testing.T)
controlplane/memory_rebalancer_test.go:115
FunctionTestDisabledRebalancerRequestIsNoop
(t *testing.T)
controlplane/memory_rebalancer_test.go:99
FunctionTestDisabledUserEnforcement
TestDisabledUserEnforcement covers the per-user kill switch at the snapshot level: a disabled user with CORRECT credentials is refused on every auth p
controlplane/configstore/store_test.go:381
FunctionTestDiscoverPeerIPs
discoverPeerIPs must return only Running CP peers with an IP, excluding self by BOTH name and IP, and excluding non-CP / pending / no-IP pods. The IP-
controlplane/live_aggregator_test.go:44
FunctionTestDiskCacheEviction
TestDiskCacheEviction exercises LRU eviction when the cache fills up. We set maxBytes tiny by construction: NewDiskCache uses statfs * percent, so we
cmd/cache-proxy/cache_test.go:176
FunctionTestDiskCacheOpen
(t *testing.T)
cmd/cache-proxy/cache_test.go:131
FunctionTestDiskCachePutGetHas
(t *testing.T)
cmd/cache-proxy/cache_test.go:105
FunctionTestDiskCacheRejectsInvalidKey
(t *testing.T)
cmd/cache-proxy/cache_test.go:155
FunctionTestDoCopyFromStdinAbortsOnStreamCancellation
TestDoCopyFromStdinAbortsOnStreamCancellation pins down the corrected cancellation path: when the CP cancels the gRPC stream mid-CSV (because the wire
duckdbservice/copy_from_stdin_test.go:274
FunctionTestDoCopyFromStdinIngestsCSVAndRunsCOPY
(t *testing.T)
duckdbservice/copy_from_stdin_test.go:133
← previousnext →4,101–4,200 of 5,901, ranked by callers