Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ functions
Functions
5,901 in github.com/PostHog/duckgres
⨍
Functions
5,901
◇
Types & classes
803
Function
TestDDL_AlterDropColumnPassesThrough
(t *testing.T)
transpiler/transform/ddl_test.go:201
Function
TestDDL_ConstraintsStrippedSilently
(t *testing.T)
transpiler/transform/ddl_test.go:34
Function
TestDDL_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
Function
TestDDL_MemoryProfileUnaffected
(t *testing.T)
transpiler/transform/ddl_test.go:146
Function
TestDDL_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
Function
TestDDL_SafeDefaultsPreserved
(t *testing.T)
transpiler/transform/ddl_test.go:112
Function
TestDDL_SerialRewrittenToInteger
(t *testing.T)
transpiler/transform/ddl_test.go:89
Function
TestDDL_SilentNullFeaturesStripped
(t *testing.T)
transpiler/transform/ddl_test.go:60
Function
TestDMLDelete
TestDMLDelete tests DELETE variations
tests/integration/dml_test.go:304
Function
TestDMLDeleteReturning
TestDMLDeleteReturning tests DELETE ... RETURNING
tests/integration/dml_test.go:368
Function
TestDMLDeleteUsing
TestDMLDeleteUsing tests DELETE ... USING (join-style delete)
tests/integration/dml_test.go:398
Function
TestDMLInsert
TestDMLInsert tests INSERT variations
tests/integration/dml_test.go:8
Function
TestDMLInsertOnConflict
TestDMLInsertOnConflict tests INSERT ... ON CONFLICT (UPSERT)
tests/integration/dml_test.go:134
Function
TestDMLInsertReturning
TestDMLInsertReturning tests INSERT ... RETURNING
tests/integration/dml_test.go:85
Function
TestDMLUpdate
TestDMLUpdate tests UPDATE variations
tests/integration/dml_test.go:171
Function
TestDMLUpdateFromJoin
TestDMLUpdateFromJoin tests UPDATE with FROM clause (join)
tests/integration/dml_test.go:275
Function
TestDMLUpdateReturning
TestDMLUpdateReturning tests UPDATE ... RETURNING
tests/integration/dml_test.go:244
Function
TestDMLWithCTE
TestDMLWithCTE tests DML with CTEs
tests/integration/dml_test.go:426
Function
TestDQLBasicSelect
TestDQLBasicSelect tests basic SELECT statements
tests/integration/dql_test.go:8
Function
TestDQLCTEs
TestDQLCTEs tests Common Table Expressions
tests/integration/dql_test.go:264
Function
TestDQLCaseSensitivity
TestDQLCaseSensitivity tests case sensitivity
tests/integration/dql_test.go:423
Function
TestDQLComplexQueries
TestDQLComplexQueries tests complex real-world queries
tests/integration/dql_test.go:433
Function
TestDQLDistinct
TestDQLDistinct tests DISTINCT variations
tests/integration/dql_test.go:136
Function
TestDQLGroupBy
TestDQLGroupBy tests GROUP BY and HAVING
tests/integration/dql_test.go:147
Function
TestDQLJoins
TestDQLJoins tests JOIN variations
tests/integration/dql_test.go:173
Function
TestDQLLimitOffset
TestDQLLimitOffset tests LIMIT and OFFSET variations
tests/integration/dql_test.go:123
Function
TestDQLOrderBy
TestDQLOrderBy tests ORDER BY clause variations
tests/integration/dql_test.go:106
Function
TestDQLSetOperations
TestDQLSetOperations tests UNION, INTERSECT, EXCEPT
tests/integration/dql_test.go:327
Function
TestDQLSubqueries
TestDQLSubqueries tests subquery variations
tests/integration/dql_test.go:236
Function
TestDQLValues
TestDQLValues tests VALUES clause
tests/integration/dql_test.go:413
Function
TestDQLWhere
TestDQLWhere tests WHERE clause variations
tests/integration/dql_test.go:51
Function
TestDQLWindowFunctions
TestDQLWindowFunctions tests window functions
tests/integration/dql_test.go:362
Function
TestDashboardRejectsTokenQueryParam
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
Function
TestDashboardRequiresLoginThenSetsCookie
(t *testing.T)
controlplane/admin/dashboard_test.go:103
Function
TestDatabaseNameForSNIPrefix
(t *testing.T)
controlplane/configstore/store_test.go:167
Function
TestDbtQueries
TestDbtQueries tests queries commonly issued by dbt
tests/integration/clients/clients_test.go:461
Function
TestDecimalValueString
(t *testing.T)
duckdbservice/arrowmap/arrowmap_test.go:12
Function
TestDecodeBinary
(t *testing.T)
server/types_test.go:822
Function
TestDecodeBinaryCopy
(t *testing.T)
server/conn_test.go:3110
Function
TestDecodeBinaryCopy_FloatWidthMismatch
(t *testing.T)
server/conn_test.go:3279
Function
TestDecodeBool
Tests for binary parameter decoding functions
server/types_test.go:542
Function
TestDecodeDate
(t *testing.T)
server/types_test.go:751
Function
TestDecodeFloat4
(t *testing.T)
server/types_test.go:683
Function
TestDecodeFloat8
(t *testing.T)
server/types_test.go:717
Function
TestDecodeInt2
(t *testing.T)
server/types_test.go:575
Function
TestDecodeInt4
(t *testing.T)
server/types_test.go:611
Function
TestDecodeInt8
(t *testing.T)
server/types_test.go:647
Function
TestDecodeNumeric
(t *testing.T)
server/types_test.go:1043
Function
TestDecodeNumericRaw
(t *testing.T)
server/types_test.go:1106
Function
TestDecodeTimestamp
(t *testing.T)
server/types_test.go:787
Function
TestDecodeTimestampAncient
(t *testing.T)
server/types_test.go:1360
Function
TestDefaultDeltaCatalogPath
(t *testing.T)
server/ducklake/migration_test.go:349
Function
TestDefaultIsNoopUntilSet
(t *testing.T)
internal/analytics/analytics_test.go:76
Function
TestDefaultMaxWorkers
(t *testing.T)
controlplane/memory_rebalancer_test.go:81
Function
TestDefaultRateLimitConfig
(t *testing.T)
server/auth/ratelimit_test.go:360
Function
TestDeleteOrgRejectsWhenWarehouseStillExists
(t *testing.T)
controlplane/admin/api_test.go:1115
Function
TestDeleteOrgSucceedsAfterWarehouseRemoved
(t *testing.T)
controlplane/admin/api_test.go:1138
Function
TestDeltaCatalogNeedsS3Secret
(t *testing.T)
server/ducklake_test.go:65
Function
TestDeployFailsWhenSamePRDucklingsDoNotDelete
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:11
Function
TestDeployFailureDoesNotDumpDucklingYAML
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:26
Function
TestDeployRejectsMissingPRNumberBeforeCleanup
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:106
Function
TestDeprovisionEmitsAnalyticsEvent
(t *testing.T)
controlplane/provisioning/analytics_events_test.go:108
Function
TestDeprovisionFailedWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:415
Function
TestDeprovisionNotFoundEmitsNoEvent
(t *testing.T)
controlplane/provisioning/analytics_events_test.go:130
Function
TestDeprovisionProvisioningWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:436
Function
TestDeprovisionReadyWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:394
Function
TestDeprovisionRejectsPendingWarehouse
(t *testing.T)
controlplane/provisioning/api_test.go:457
Function
TestDestroyAllSessionsCancelsCreateBlockedInAcquireWorker
(t *testing.T)
controlplane/session_mgr_drain_test.go:818
Function
TestDestroyAllSessionsCancelsReconnectBlockedInReconnectWorker
(t *testing.T)
controlplane/session_mgr_drain_test.go:879
Function
TestDestroyAllSessionsRejectsInFlightCreateBeforeRegistration
(t *testing.T)
controlplane/session_mgr_drain_test.go:712
Function
TestDestroyAllSessionsWaitsForCreateBlockedInLimiterAcquire
(t *testing.T)
controlplane/session_mgr_drain_test.go:768
Function
TestDestroyAllSessionsWaitsForInFlightDestroySessionCleanup
(t *testing.T)
controlplane/session_mgr_drain_test.go:552
Function
TestDestroyAllSessionsWaitsForInFlightWorkerCrashLeaseRelease
(t *testing.T)
controlplane/session_mgr_drain_test.go:615
Function
TestDestroyAllSessions_ReleasesAllLeasesAndClearsSessions
(t *testing.T)
controlplane/session_mgr_drain_test.go:679
Function
TestDestroySessionAfterOnWorkerCrash
(t *testing.T)
controlplane/session_mgr_test.go:398
Function
TestDestroySessionClusterModeDiscardsConn
(t *testing.T)
duckdbservice/service_test.go:367
Function
TestDestroySessionPreventsLateQueryHandleDrainLeak
(t *testing.T)
duckdbservice/service_test.go:822
Function
TestDestroySessionPreventsLateSQLTransactionDrainLeak
(t *testing.T)
duckdbservice/service_test.go:855
Function
TestDestroySessionPreventsLateTrackedTransactionDrainLeak
(t *testing.T)
duckdbservice/service_test.go:888
Function
TestDestroySessionReleasesPendingQueryDrainWork
(t *testing.T)
duckdbservice/service_test.go:573
Function
TestDestroySessionRetriesTransientLeaseReleaseFailure
(t *testing.T)
controlplane/session_mgr_drain_test.go:530
Function
TestDestroySessionStandaloneModeRunsCleanup
(t *testing.T)
duckdbservice/service_test.go:424
Function
TestDestroySessionWaitsForAcceptedConnectionWorkBeforeCleanup
(t *testing.T)
duckdbservice/service_test.go:969
Function
TestDestroySessionWaitsForActiveConnectionWorkBeforeCleanup
(t *testing.T)
duckdbservice/service_test.go:921
Function
TestDestroySession_ReleasesLeaseAfterWorkerRelease
(t *testing.T)
controlplane/session_mgr_drain_test.go:507
Function
TestDestroySessionsForUser
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
Function
TestDisableEnableUnavailableWithoutUserAdmin
TestDisableEnableUnavailableWithoutUserAdmin: without a UserAdmin wired (nil), disable/enable degrade to 503 rather than panicking.
controlplane/admin/kill_switch_test.go:174
Function
TestDisableUserNotFound
TestDisableUserNotFound: an unknown user yields 404 and does not fan out.
controlplane/admin/kill_switch_test.go:158
Function
TestDisableUserPersistsReloadsKillsAndFansOut
TestDisableUserPersistsReloadsKillsAndFansOut: the disable endpoint persists the flag, reloads the snapshot, kills locally, and fans out to peers.
controlplane/admin/kill_switch_test.go:83
Function
TestDisableUserScopeLocalReloadsAndKillsOnly
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
Function
TestDisabledRebalancerFullBudget
(t *testing.T)
controlplane/memory_rebalancer_test.go:115
Function
TestDisabledRebalancerRequestIsNoop
(t *testing.T)
controlplane/memory_rebalancer_test.go:99
Function
TestDisabledUserEnforcement
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
Function
TestDiscoverPeerIPs
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
Function
TestDiskCacheEviction
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
Function
TestDiskCacheOpen
(t *testing.T)
cmd/cache-proxy/cache_test.go:131
Function
TestDiskCachePutGetHas
(t *testing.T)
cmd/cache-proxy/cache_test.go:105
Function
TestDiskCacheRejectsInvalidKey
(t *testing.T)
cmd/cache-proxy/cache_test.go:155
Function
TestDoCopyFromStdinAbortsOnStreamCancellation
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
Function
TestDoCopyFromStdinIngestsCSVAndRunsCOPY
(t *testing.T)
duckdbservice/copy_from_stdin_test.go:133
← previous
next →
4,101–4,200 of 5,901, ranked by callers