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
TestTranspile_WritableCTE_CTEReferences
(t *testing.T)
transpiler/transpiler_test.go:2613
Function
TestTranspile_WritableCTE_ColumnRefRewriting
(t *testing.T)
transpiler/transpiler_test.go:2676
Function
TestTranspile_WritableCTE_TempTableNaming
(t *testing.T)
transpiler/transpiler_test.go:2646
Function
TestTranspilerEndToEndLongName
TestTranspilerEndToEndLongName verifies the fix through the public Transpile entry point using a query that forces Tier-1 parsing (the ::regtype cast)
transpiler/longident_test.go:244
Function
TestTruncateNullableQuery
(t *testing.T)
server/querylog_test.go:341
Function
TestTruncateQuery
(t *testing.T)
server/querylog_test.go:120
Function
TestTryAcquireOrgConnectionLeasePrunesStaleMissingControlPlaneOwner
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1050
Function
TestTryAcquireOrgConnectionLeaseRetriesWhenRequestIDReusedWithDifferentOrg
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1224
Function
TestTryAcquireOrgConnectionLeaseRetryReturnsExistingLease
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1094
Function
TestTryAcquireOrgConnectionLeaseTakesOrgLockBeforeExpiredRowLock
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1146
Function
TestTuneAcceptedConn_LinuxSocketOptions
TestTuneAcceptedConn_LinuxSocketOptions reads back the actual sockopts after TuneAcceptedConn so the kernel's view — not just Go's KeepAliveConfig API
internal/netkeepalive/keepalive_linux_test.go:26
Function
TestTuneAcceptedConn_NonTCP
TestTuneAcceptedConn_NonTCP confirms TuneAcceptedConn is a no-op (no panic, no error) on connections that are not *net.TCPConn. The accept loop should
internal/netkeepalive/keepalive_test.go:11
Function
TestTuneAcceptedConn_TCP
TestTuneAcceptedConn_TCP confirms TuneAcceptedConn returns cleanly for an accepted TCP connection. The platform-specific assertions (Linux getsockopt
internal/netkeepalive/keepalive_test.go:27
Function
TestTypeCastTransform_ArrayLiteral
(t *testing.T)
transpiler/transform/literals_test.go:113
Function
TestTypeCastTransform_ArrayLiteralInInsertValues
(t *testing.T)
transpiler/transform/literals_test.go:100
Function
TestTypeMappingTransform_MultirangeCasts
Fix: nummultirange/tsmultirange/tstzmultirange/datemultirange were missing from typeMapping (the int4/int8 multirange entries already existed).
transpiler/transform/wiring_walk_test.go:119
Function
TestTypesArray
TestTypesArray tests array type handling
tests/integration/types_test.go:219
Function
TestTypesBinary
TestTypesBinary tests binary type handling
tests/integration/types_test.go:154
Function
TestTypesBoolean
TestTypesBoolean tests boolean type handling
tests/integration/types_test.go:125
Function
TestTypesCasting
TestTypesCasting tests type casting
tests/integration/types_test.go:283
Function
TestTypesCharacter
TestTypesCharacter tests character/string type handling
tests/integration/types_test.go:49
Function
TestTypesDateTime
TestTypesDateTime tests date/time type handling
tests/integration/types_test.go:80
Function
TestTypesJSON
TestTypesJSON tests JSON type handling
tests/integration/types_test.go:186
Function
TestTypesNullHandling
TestTypesNullHandling tests NULL handling across types
tests/integration/types_test.go:251
Function
TestTypesNumeric
TestTypesNumeric tests numeric type handling
tests/integration/types_test.go:8
Function
TestTypesUUID
TestTypesUUID tests UUID type handling
tests/integration/types_test.go:173
Function
TestTypesUnsupported
TestTypesUnsupported tests types that are mapped or unsupported
tests/integration/types_test.go:304
Function
TestUBIGINTTypmod
(t *testing.T)
server/types_test.go:1073
Function
TestUbigintToBigintMigrationViaDrop
TestUbigintToBigintMigrationViaDrop simulates the migration path: an existing table with a UBIGINT column is dropped and recreated as BIGINT, after wh
server/querylog_test.go:244
Function
TestUnicodeAndSpecialData
TestUnicodeAndSpecialData tests that the wire protocol handles real-world data correctly.
tests/integration/edge_cases_test.go:536
Function
TestUpdateOrgClearsDefaultWorkerProfileWithEmptyStrings
(t *testing.T)
controlplane/admin/api_test.go:1723
Function
TestUpdateOrgClearsHostnameAliasWithEmptyString
(t *testing.T)
controlplane/admin/api_test.go:1421
Function
TestUpdateOrgMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:1566
Function
TestUpdateOrgMaxVCPUsCanClearToZero
(t *testing.T)
controlplane/admin/api_test.go:1595
Function
TestUpdateOrgMaxVCPUsNullClearsToZero
(t *testing.T)
controlplane/admin/api_test.go:1645
Function
TestUpdateOrgOmittingDefaultWorkerMinHotIdlePreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1798
Function
TestUpdateOrgOmittingDefaultWorkerProfilePreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1747
Function
TestUpdateOrgOmittingHostnameAliasPreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1515
Function
TestUpdateOrgOmittingMaxVCPUsPreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1620
Function
TestUpdateOrgRejectsInvalidDefaultWorkerProfile
(t *testing.T)
controlplane/admin/api_test.go:1837
Function
TestUpdateOrgRejectsNegativeDefaultWorkerMinHotIdle
(t *testing.T)
controlplane/admin/api_test.go:1819
Function
TestUpdateOrgRejectsNegativeMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:1670
Function
TestUpdateOrgRejectsNestedWarehousePayload
(t *testing.T)
controlplane/admin/api_test.go:1090
Function
TestUpdateOrgSetsDefaultWorkerMinHotIdle
(t *testing.T)
controlplane/admin/api_test.go:1771
Function
TestUpdateOrgSetsDefaultWorkerProfile
--- Org default worker profile (default_worker_cpu/memory/ttl) ---
controlplane/admin/api_test.go:1693
Function
TestUpdateUserIgnoresRemovedDefaultCatalogField
(t *testing.T)
controlplane/admin/api_test.go:468
Function
TestUpdateUserMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:359
Function
TestUpdateUserMaxVCPUsCanClearToZero
(t *testing.T)
controlplane/admin/api_test.go:380
Function
TestUpdateUserMaxVCPUsNullClearsToZero
(t *testing.T)
controlplane/admin/api_test.go:402
Function
TestUpdateUserOmittingMaxVCPUsPreservesIt
(t *testing.T)
controlplane/admin/api_test.go:424
Function
TestUpdateUserRejectsNegativeMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:446
Function
TestUpgradeWithMaxWorkers
TestUpgradeWithMaxWorkers verifies that a graceful upgrade works when max_workers is set. The new CP creates fresh pre-bound sockets.
tests/controlplane/controlplane_test.go:746
Function
TestUpsertManagedWarehousePreservesCreatedAt
(t *testing.T)
controlplane/admin/api_postgres_test.go:99
Function
TestUpsertWorkerRecordDoesNotOverwriteNewerLeasePostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2150
Function
TestUpsertWorkerRecordDoesNotResurrectTerminalWorkerPostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2114
Function
TestUpsertWorkerRecordPersistsProfileOnConflict
Regression: UpsertWorkerRecord must update the profile (cpu/mem/colocate) and ttl_minutes columns on conflict. CreateSpawningWorkerSlot inserts a size
tests/configstore/runtime_store_postgres_test.go:502
Function
TestUpsertWorkerRecordStampsAndPreservesHotIdleSince
hot_idle_since is stamped on entry into hot_idle and preserved across same-state re-upserts (so a re-write of an already-hot-idle row cannot reset the
tests/configstore/runtime_store_postgres_test.go:2684
Function
TestUptimeMacros
(t *testing.T)
server/catalog_test.go:275
Function
TestUtilityMacrosWithoutPgCatalog
(t *testing.T)
server/catalog_test.go:365
Function
TestValidateControlPlaneSecurity
(t *testing.T)
controlplane/validation_test.go:79
Function
TestValidateFrozenDatasetMetadataRejectsMismatchedVersion
(t *testing.T)
tests/perf/harness_publisher_test.go:173
Function
TestValidateMemoryLimit
(t *testing.T)
server/sysinfo/sysinfo_test.go:112
Function
TestValidateReadOnlyCatalogAcceptsSelectOnlyQueries
(t *testing.T)
tests/perf/core/catalog_test.go:70
Function
TestValidateReadOnlyCatalogRejectsNonSelectQueries
(t *testing.T)
tests/perf/core/catalog_test.go:86
Function
TestValidateSharedStartupConfigRejectsTenantRuntimeFields
(t *testing.T)
controlplane/k8s_pool_test.go:3101
Function
TestValidateSharedWorkerConfigRejectsTenantRuntimeFields
(t *testing.T)
controlplane/k8s_pool_test.go:3134
Function
TestValidateTLSFiles
(t *testing.T)
controlplane/validation_test.go:11
Function
TestValidateTenantSecretRefRejectsDefaultNamespaceFallbackWithoutTenantNamespace
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:57
Function
TestValidateTenantSecretRefRejectsNamespaceMismatch
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:19
Function
TestValidateTenantSecretRefRejectsSubstringOnlyOrgMatch
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:45
Function
TestValidateTenantSecretRefRequiresExplicitSecretNamespace
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:31
Function
TestValidateTenantSecretRefRequiresTenantNamespace
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:8
Function
TestValidateUserPassword
(t *testing.T)
server/auth/policy_test.go:35
Function
TestValidateUsers
(t *testing.T)
controlplane/validation_test.go:25
Function
TestValidateWorkerBackendConfig
(t *testing.T)
controlplane/validation_test.go:102
Function
TestVersionLessThan
(t *testing.T)
server/ducklake/migration_test.go:286
Function
TestVersionLessThan_Invalid
(t *testing.T)
server/ducklake/migration_test.go:314
Function
TestWaitSessionIdleBlocksUntilOperationReleases
(t *testing.T)
duckdbservice/flight_handler_test.go:476
Function
TestWalkSelectStmt_BareValuesByteaHex
(t *testing.T)
transpiler/transform/wiring_walk_test.go:46
Function
TestWalkSelectStmt_InsertValuesBitString
(t *testing.T)
transpiler/transform/wiring_walk_test.go:25
Function
TestWalkSelectStmt_InsertValuesByteaHex
Fix: walkSelectStmt skipped ValuesLists, so WalkFunc-based transforms (LiteralTransform, TypeCastTransform, placeholder counting) never visited INSERT
transpiler/transform/wiring_walk_test.go:14
Function
TestWalkSelectStmt_InsertValuesMultiRow
(t *testing.T)
transpiler/transform/wiring_walk_test.go:37
Function
TestWipePersistedSecretsOnRecycle
TestWipePersistedSecretsOnRecycle is the unit-level guard for the worker-recycle behavior that Warmup relies on: a CREATE PERSISTENT SECRET left on di
duckdbservice/secret_recycle_test.go:26
Function
TestWipeUserSecrets
Wipe must drop ALL user-created secrets — persistent AND non-persistent (plain/TEMPORARY CREATE SECRET) — while leaving the system-managed catalog sec
duckdbservice/user_secrets_test.go:51
Function
TestWipeUserSecretsDropsTemporary
Regression for the cross-user isolation leak: a non-persistent (TEMPORARY / plain) secret created by one user lingers on the instance-global DuckDB an
duckdbservice/user_secrets_test.go:91
Function
TestWorkerBillingSize
(t *testing.T)
controlplane/compute_size_test.go:46
Function
TestWorkerDoNotDisruptLifecycle
(t *testing.T)
controlplane/k8s_pool_test.go:4594
Function
TestWorkerDuckDBLimits_ProcessBackend_UsesRebalancer
(t *testing.T)
controlplane/worker_limits_test.go:84
Function
TestWorkerDuckDBLimits_RemoteBackend
(t *testing.T)
controlplane/worker_limits_test.go:9
Function
TestWorkerImageForOrg
(t *testing.T)
controlplane/org_router_test.go:376
Function
TestWorkerMemoryHygieneEnv
(t *testing.T)
controlplane/k8s_pool_test.go:4637
Function
TestWorkerPodNaming
(t *testing.T)
controlplane/k8s_pool_test.go:4562
Function
TestWorkerPreparedAndMetadataFlightSQLHandlersUnsupported
(t *testing.T)
duckdbservice/flight_handler_test.go:153
Function
TestWorkerResources_BothSet
(t *testing.T)
controlplane/k8s_pool_test.go:3341
Function
TestWorkerResources_CPUOnly
(t *testing.T)
controlplane/k8s_pool_test.go:3372
Function
TestWorkerResources_MemoryOnly
(t *testing.T)
controlplane/k8s_pool_test.go:3396
Function
TestWorkerResources_NeitherSet
(t *testing.T)
controlplane/k8s_pool_test.go:3412
Function
TestWorkerScheduling_NoSelectorOrToleration
(t *testing.T)
controlplane/k8s_pool_test.go:3494
Function
TestWorkerScheduling_NodeSelectorAndToleration
(t *testing.T)
controlplane/k8s_pool_test.go:3457
Function
TestWorkerSpawnLogHeadroomStatsPostgres
(t *testing.T)
tests/configstore/spawn_log_postgres_test.go:10
← previous
next →
5,601–5,700 of 5,901, ranked by callers