MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestTranspile_WritableCTE_CTEReferences
(t *testing.T)
transpiler/transpiler_test.go:2613
FunctionTestTranspile_WritableCTE_ColumnRefRewriting
(t *testing.T)
transpiler/transpiler_test.go:2676
FunctionTestTranspile_WritableCTE_TempTableNaming
(t *testing.T)
transpiler/transpiler_test.go:2646
FunctionTestTranspilerEndToEndLongName
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
FunctionTestTruncateNullableQuery
(t *testing.T)
server/querylog_test.go:341
FunctionTestTruncateQuery
(t *testing.T)
server/querylog_test.go:120
FunctionTestTryAcquireOrgConnectionLeasePrunesStaleMissingControlPlaneOwner
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1050
FunctionTestTryAcquireOrgConnectionLeaseRetriesWhenRequestIDReusedWithDifferentOrg
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1224
FunctionTestTryAcquireOrgConnectionLeaseRetryReturnsExistingLease
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1094
FunctionTestTryAcquireOrgConnectionLeaseTakesOrgLockBeforeExpiredRowLock
(t *testing.T)
tests/configstore/org_connection_limiter_test.go:1146
FunctionTestTuneAcceptedConn_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
FunctionTestTuneAcceptedConn_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
FunctionTestTuneAcceptedConn_TCP
TestTuneAcceptedConn_TCP confirms TuneAcceptedConn returns cleanly for an accepted TCP connection. The platform-specific assertions (Linux getsockopt
internal/netkeepalive/keepalive_test.go:27
FunctionTestTypeCastTransform_ArrayLiteral
(t *testing.T)
transpiler/transform/literals_test.go:113
FunctionTestTypeCastTransform_ArrayLiteralInInsertValues
(t *testing.T)
transpiler/transform/literals_test.go:100
FunctionTestTypeMappingTransform_MultirangeCasts
Fix: nummultirange/tsmultirange/tstzmultirange/datemultirange were missing from typeMapping (the int4/int8 multirange entries already existed).
transpiler/transform/wiring_walk_test.go:119
FunctionTestTypesArray
TestTypesArray tests array type handling
tests/integration/types_test.go:219
FunctionTestTypesBinary
TestTypesBinary tests binary type handling
tests/integration/types_test.go:154
FunctionTestTypesBoolean
TestTypesBoolean tests boolean type handling
tests/integration/types_test.go:125
FunctionTestTypesCasting
TestTypesCasting tests type casting
tests/integration/types_test.go:283
FunctionTestTypesCharacter
TestTypesCharacter tests character/string type handling
tests/integration/types_test.go:49
FunctionTestTypesDateTime
TestTypesDateTime tests date/time type handling
tests/integration/types_test.go:80
FunctionTestTypesJSON
TestTypesJSON tests JSON type handling
tests/integration/types_test.go:186
FunctionTestTypesNullHandling
TestTypesNullHandling tests NULL handling across types
tests/integration/types_test.go:251
FunctionTestTypesNumeric
TestTypesNumeric tests numeric type handling
tests/integration/types_test.go:8
FunctionTestTypesUUID
TestTypesUUID tests UUID type handling
tests/integration/types_test.go:173
FunctionTestTypesUnsupported
TestTypesUnsupported tests types that are mapped or unsupported
tests/integration/types_test.go:304
FunctionTestUBIGINTTypmod
(t *testing.T)
server/types_test.go:1073
FunctionTestUbigintToBigintMigrationViaDrop
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
FunctionTestUnicodeAndSpecialData
TestUnicodeAndSpecialData tests that the wire protocol handles real-world data correctly.
tests/integration/edge_cases_test.go:536
FunctionTestUpdateOrgClearsDefaultWorkerProfileWithEmptyStrings
(t *testing.T)
controlplane/admin/api_test.go:1723
FunctionTestUpdateOrgClearsHostnameAliasWithEmptyString
(t *testing.T)
controlplane/admin/api_test.go:1421
FunctionTestUpdateOrgMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:1566
FunctionTestUpdateOrgMaxVCPUsCanClearToZero
(t *testing.T)
controlplane/admin/api_test.go:1595
FunctionTestUpdateOrgMaxVCPUsNullClearsToZero
(t *testing.T)
controlplane/admin/api_test.go:1645
FunctionTestUpdateOrgOmittingDefaultWorkerMinHotIdlePreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1798
FunctionTestUpdateOrgOmittingDefaultWorkerProfilePreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1747
FunctionTestUpdateOrgOmittingHostnameAliasPreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1515
FunctionTestUpdateOrgOmittingMaxVCPUsPreservesIt
(t *testing.T)
controlplane/admin/api_test.go:1620
FunctionTestUpdateOrgRejectsInvalidDefaultWorkerProfile
(t *testing.T)
controlplane/admin/api_test.go:1837
FunctionTestUpdateOrgRejectsNegativeDefaultWorkerMinHotIdle
(t *testing.T)
controlplane/admin/api_test.go:1819
FunctionTestUpdateOrgRejectsNegativeMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:1670
FunctionTestUpdateOrgRejectsNestedWarehousePayload
(t *testing.T)
controlplane/admin/api_test.go:1090
FunctionTestUpdateOrgSetsDefaultWorkerMinHotIdle
(t *testing.T)
controlplane/admin/api_test.go:1771
FunctionTestUpdateOrgSetsDefaultWorkerProfile
--- Org default worker profile (default_worker_cpu/memory/ttl) ---
controlplane/admin/api_test.go:1693
FunctionTestUpdateUserIgnoresRemovedDefaultCatalogField
(t *testing.T)
controlplane/admin/api_test.go:468
FunctionTestUpdateUserMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:359
FunctionTestUpdateUserMaxVCPUsCanClearToZero
(t *testing.T)
controlplane/admin/api_test.go:380
FunctionTestUpdateUserMaxVCPUsNullClearsToZero
(t *testing.T)
controlplane/admin/api_test.go:402
FunctionTestUpdateUserOmittingMaxVCPUsPreservesIt
(t *testing.T)
controlplane/admin/api_test.go:424
FunctionTestUpdateUserRejectsNegativeMaxVCPUs
(t *testing.T)
controlplane/admin/api_test.go:446
FunctionTestUpgradeWithMaxWorkers
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
FunctionTestUpsertManagedWarehousePreservesCreatedAt
(t *testing.T)
controlplane/admin/api_postgres_test.go:99
FunctionTestUpsertWorkerRecordDoesNotOverwriteNewerLeasePostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2150
FunctionTestUpsertWorkerRecordDoesNotResurrectTerminalWorkerPostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2114
FunctionTestUpsertWorkerRecordPersistsProfileOnConflict
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
FunctionTestUpsertWorkerRecordStampsAndPreservesHotIdleSince
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
FunctionTestUptimeMacros
(t *testing.T)
server/catalog_test.go:275
FunctionTestUtilityMacrosWithoutPgCatalog
(t *testing.T)
server/catalog_test.go:365
FunctionTestValidateControlPlaneSecurity
(t *testing.T)
controlplane/validation_test.go:79
FunctionTestValidateFrozenDatasetMetadataRejectsMismatchedVersion
(t *testing.T)
tests/perf/harness_publisher_test.go:173
FunctionTestValidateMemoryLimit
(t *testing.T)
server/sysinfo/sysinfo_test.go:112
FunctionTestValidateReadOnlyCatalogAcceptsSelectOnlyQueries
(t *testing.T)
tests/perf/core/catalog_test.go:70
FunctionTestValidateReadOnlyCatalogRejectsNonSelectQueries
(t *testing.T)
tests/perf/core/catalog_test.go:86
FunctionTestValidateSharedStartupConfigRejectsTenantRuntimeFields
(t *testing.T)
controlplane/k8s_pool_test.go:3101
FunctionTestValidateSharedWorkerConfigRejectsTenantRuntimeFields
(t *testing.T)
controlplane/k8s_pool_test.go:3134
FunctionTestValidateTLSFiles
(t *testing.T)
controlplane/validation_test.go:11
FunctionTestValidateTenantSecretRefRejectsDefaultNamespaceFallbackWithoutTenantNamespace
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:57
FunctionTestValidateTenantSecretRefRejectsNamespaceMismatch
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:19
FunctionTestValidateTenantSecretRefRejectsSubstringOnlyOrgMatch
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:45
FunctionTestValidateTenantSecretRefRequiresExplicitSecretNamespace
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:31
FunctionTestValidateTenantSecretRefRequiresTenantNamespace
(t *testing.T)
controlplane/configstore/tenant_refs_test.go:8
FunctionTestValidateUserPassword
(t *testing.T)
server/auth/policy_test.go:35
FunctionTestValidateUsers
(t *testing.T)
controlplane/validation_test.go:25
FunctionTestValidateWorkerBackendConfig
(t *testing.T)
controlplane/validation_test.go:102
FunctionTestVersionLessThan
(t *testing.T)
server/ducklake/migration_test.go:286
FunctionTestVersionLessThan_Invalid
(t *testing.T)
server/ducklake/migration_test.go:314
FunctionTestWaitSessionIdleBlocksUntilOperationReleases
(t *testing.T)
duckdbservice/flight_handler_test.go:476
FunctionTestWalkSelectStmt_BareValuesByteaHex
(t *testing.T)
transpiler/transform/wiring_walk_test.go:46
FunctionTestWalkSelectStmt_InsertValuesBitString
(t *testing.T)
transpiler/transform/wiring_walk_test.go:25
FunctionTestWalkSelectStmt_InsertValuesByteaHex
Fix: walkSelectStmt skipped ValuesLists, so WalkFunc-based transforms (LiteralTransform, TypeCastTransform, placeholder counting) never visited INSERT
transpiler/transform/wiring_walk_test.go:14
FunctionTestWalkSelectStmt_InsertValuesMultiRow
(t *testing.T)
transpiler/transform/wiring_walk_test.go:37
FunctionTestWipePersistedSecretsOnRecycle
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
FunctionTestWipeUserSecrets
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
FunctionTestWipeUserSecretsDropsTemporary
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
FunctionTestWorkerBillingSize
(t *testing.T)
controlplane/compute_size_test.go:46
FunctionTestWorkerDoNotDisruptLifecycle
(t *testing.T)
controlplane/k8s_pool_test.go:4594
FunctionTestWorkerDuckDBLimits_ProcessBackend_UsesRebalancer
(t *testing.T)
controlplane/worker_limits_test.go:84
FunctionTestWorkerDuckDBLimits_RemoteBackend
(t *testing.T)
controlplane/worker_limits_test.go:9
FunctionTestWorkerImageForOrg
(t *testing.T)
controlplane/org_router_test.go:376
FunctionTestWorkerMemoryHygieneEnv
(t *testing.T)
controlplane/k8s_pool_test.go:4637
FunctionTestWorkerPodNaming
(t *testing.T)
controlplane/k8s_pool_test.go:4562
FunctionTestWorkerPreparedAndMetadataFlightSQLHandlersUnsupported
(t *testing.T)
duckdbservice/flight_handler_test.go:153
FunctionTestWorkerResources_BothSet
(t *testing.T)
controlplane/k8s_pool_test.go:3341
FunctionTestWorkerResources_CPUOnly
(t *testing.T)
controlplane/k8s_pool_test.go:3372
FunctionTestWorkerResources_MemoryOnly
(t *testing.T)
controlplane/k8s_pool_test.go:3396
FunctionTestWorkerResources_NeitherSet
(t *testing.T)
controlplane/k8s_pool_test.go:3412
FunctionTestWorkerScheduling_NoSelectorOrToleration
(t *testing.T)
controlplane/k8s_pool_test.go:3494
FunctionTestWorkerScheduling_NodeSelectorAndToleration
(t *testing.T)
controlplane/k8s_pool_test.go:3457
FunctionTestWorkerSpawnLogHeadroomStatsPostgres
(t *testing.T)
tests/configstore/spawn_log_postgres_test.go:10
← previousnext →5,601–5,700 of 5,901, ranked by callers