MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestParseCatalogSuccess
(t *testing.T)
tests/perf/core/catalog_test.go:8
FunctionTestParseCopyFromOptions
(t *testing.T)
server/conn_test.go:2381
FunctionTestParseCopyFromOptions_Binary
(t *testing.T)
server/conn_test.go:3048
FunctionTestParseCopyLine
(t *testing.T)
server/conn_test.go:2809
FunctionTestParseCopyToOptions
(t *testing.T)
server/conn_test.go:2564
FunctionTestParseDecimalParams
(t *testing.T)
duckdbservice/arrowmap/arrowmap_test.go:190
FunctionTestParseDucklingStatusDuckLakeEnabled
TestParseDucklingStatusDuckLakeEnabled locks in the present/absent contract for spec.ducklake.enabled: nil (legacy CR) lets the activator apply the ty
controlplane/provisioner/controller_test.go:1079
FunctionTestParseDucklingStatusEmpty
(t *testing.T)
controlplane/provisioner/controller_test.go:713
FunctionTestParseDucklingStatusPgBouncerEndpoint
(t *testing.T)
controlplane/provisioner/controller_test.go:685
FunctionTestParseDucklingStatusSyncedFalse
(t *testing.T)
controlplane/provisioner/controller_test.go:658
FunctionTestParseExtensionName
(t *testing.T)
server/server_test.go:106
FunctionTestParseK8sCPU
(t *testing.T)
controlplane/worker_limits_test.go:202
FunctionTestParseK8sCPUMillicores
(t *testing.T)
controlplane/compute_size_test.go:5
FunctionTestParseK8sMemory
(t *testing.T)
controlplane/worker_limits_test.go:178
FunctionTestParseK8sMemoryMiB
(t *testing.T)
controlplane/compute_size_test.go:27
FunctionTestParseMemoryBytes
(t *testing.T)
server/sysinfo/sysinfo_test.go:77
FunctionTestParseMultiLineCSV
(t *testing.T)
server/conn_test.go:3310
FunctionTestParseNodeSelector
(t *testing.T)
controlplane/k8s_pool_test.go:3505
FunctionTestParseNumericTypmod
(t *testing.T)
server/types_test.go:1126
FunctionTestParsePort
(t *testing.T)
server/querylog_test.go:321
FunctionTestParseQualifiedIdentifier
(t *testing.T)
server/sqlcore/identifier_test.go:8
FunctionTestParseScenarioAllowsExpectedStepError
(t *testing.T)
tests/scenario/core/catalog_test.go:171
FunctionTestParseScenarioAllowsOpenWithMap
(t *testing.T)
tests/scenario/core/catalog_test.go:145
FunctionTestParseScenarioDefaultsLinearDependencies
(t *testing.T)
tests/scenario/core/catalog_test.go:8
FunctionTestParseScenarioHonorsExplicitDependencies
(t *testing.T)
tests/scenario/core/catalog_test.go:46
FunctionTestParseScenarioRejectsDuplicateStepIDs
(t *testing.T)
tests/scenario/core/catalog_test.go:72
FunctionTestParseScenarioRejectsEmptyRequiredEnv
(t *testing.T)
tests/scenario/core/catalog_test.go:198
FunctionTestParseScenarioRejectsMissingDependency
(t *testing.T)
tests/scenario/core/catalog_test.go:91
FunctionTestParseScenarioRejectsUnknownFields
(t *testing.T)
tests/scenario/core/catalog_test.go:109
FunctionTestParseScenarioRejectsUnknownStepFieldWithFieldName
(t *testing.T)
tests/scenario/core/catalog_test.go:132
FunctionTestParseStartupOptions
(t *testing.T)
server/startup_options_test.go:5
FunctionTestParseStructFieldDef
(t *testing.T)
duckdbservice/arrowmap/arrowmap_test.go:278
FunctionTestPassthroughSessionDefaultCatalogCommand
(t *testing.T)
controlplane/session_search_path_test.go:29
FunctionTestPatchTenantPinningEmptyStringClearsField
(t *testing.T)
controlplane/admin/api_test.go:1281
FunctionTestPatchTenantPinningPreservesUntouchedField
(t *testing.T)
controlplane/admin/api_test.go:1253
FunctionTestPatchTenantPinningRejectsBadVersion
(t *testing.T)
controlplane/admin/api_test.go:1324
FunctionTestPatchTenantPinningRejectsEmptyBody
(t *testing.T)
controlplane/admin/api_test.go:1309
FunctionTestPatchTenantPinningRejectsUnknownFields
(t *testing.T)
controlplane/admin/api_test.go:1347
FunctionTestPatchTenantPinningReturnsNotFoundForMissingOrg
(t *testing.T)
controlplane/admin/api_test.go:1363
FunctionTestPatchTenantPinningSetsImageAndDuckLakeVersion
(t *testing.T)
controlplane/admin/api_test.go:1225
FunctionTestPeakSessionsTracking
(t *testing.T)
controlplane/pool_metrics_test.go:122
FunctionTestPeerFetcherInterfaceSatisfied
(t *testing.T)
controlplane/admin/live_aggregate_test.go:194
FunctionTestPerCPHotIdleReaperDisabled
Disabled (hotIdleTTL<=0) is a no-op — no listing, no retires.
controlplane/per_cp_hot_idle_reaper_test.go:143
FunctionTestPerCPHotIdleReaperHonorsFloor
A per-org DefaultWorkerMinHotIdle floor must be honored: a worker is NOT reaped while the org is at/under its floor, so the fallback can't erode a war
controlplane/per_cp_hot_idle_reaper_test.go:73
FunctionTestPerCPHotIdleReaperOrphanPassDisabled
orphanGrace==0 disables the orphan pass (self-owned reaping still runs).
controlplane/per_cp_hot_idle_reaper_test.go:124
FunctionTestPerCPHotIdleReaperReapsOrphanedHotIdle
The per-CP reaper also reaps hot-idle workers orphaned by a dead owning CP (rollout/crash), but leaves non-hot-idle orphans to the leader sweep. This
controlplane/per_cp_hot_idle_reaper_test.go:97
FunctionTestPerCPHotIdleReaperRetiresExpired
The fallback reaper retires every expired hot-idle worker this CP owns, scoping the list to its own cp instance id, and stamps the last-run gauge.
controlplane/per_cp_hot_idle_reaper_test.go:42
FunctionTestPerSessionThreads
(t *testing.T)
controlplane/memory_rebalancer_test.go:29
FunctionTestPgAttributeJoinPgTypeComplexColumns
TestPgAttributeJoinPgTypeComplexColumns verifies end-to-end that creating a table with JSON and array columns produces rows in the pg_attribute JOIN p
server/catalog_test.go:217
FunctionTestPgCatalogCompatViewsOnlyExposeSelectedCatalog
(t *testing.T)
server/session_database_metadata_test.go:329
FunctionTestPgCatalogConvenienceViewsMatchNativeShape
(t *testing.T)
server/session_database_metadata_test.go:603
FunctionTestPgCatalogJsonStrip
TestPgCatalogJsonStrip verifies the deparser's pg_catalog.json canonicalization is stripped even when the type-mapping flag would not otherwise fire.
transpiler/cast_fixup_test.go:28
FunctionTestPgCatalogStubRelations
TestPgCatalogStubRelations covers pg_catalog relations that DuckDB lacks entirely but real clients/BI tools query. pg_user is derived from pg_roles (1
server/pg_catalog_wiring_test.go:29
FunctionTestPgCatalogTransform_PgTableIsVisibleInPgClassFilter
(t *testing.T)
transpiler/transform/wiring_walk_test.go:71
FunctionTestPgCatalogTransform_PgTableIsVisibleQualifiedInDuckLakeMode
Fix: pg_table_is_visible was missing from CustomMacros, so it was never memory.main-qualified in DuckLake mode (unlike sibling macros such as pg_get_u
transpiler/transform/wiring_walk_test.go:58
FunctionTestPgDatabaseView
(t *testing.T)
server/catalog_test.go:12
FunctionTestPgDatabaseViewContent
(t *testing.T)
server/catalog_test.go:57
FunctionTestPgIdentSuffixSanitizes
TestPgIdentSuffixSanitizes verifies the Postgres-identifier transform maps hyphens to underscores (PG identifiers can't be unquoted-hyphenated) and st
controlplane/provisioner/naming_test.go:10
FunctionTestPgStatActivity
TestPgStatActivity tests the pg_stat_activity virtual table.
tests/integration/pg_stat_activity_test.go:89
FunctionTestPgStatActivityColumnsAndOIDs
(t *testing.T)
server/conn_test.go:3820
FunctionTestPgStatActivityExtendedQuery
TestPgStatActivityExtendedQuery tests pg_stat_activity through the Extended Query protocol (prepared statements).
tests/integration/pg_stat_activity_test.go:370
FunctionTestPgStatActivityFromSecondConnection
TestPgStatActivityFromSecondConnection verifies that pg_stat_activity works from a separately opened connection and can see multiple connections.
tests/integration/pg_stat_activity_test.go:321
FunctionTestPgStatActivityStubView
TestPgStatActivityStubView tests that the stub view in DuckDB works for schema introspection (e.g., \d pg_stat_activity in psql).
tests/integration/pg_stat_activity_test.go:433
FunctionTestPgStatioUserTablesViewColumns
(t *testing.T)
server/catalog_test.go:120
FunctionTestPgTablesViewsSequencesOnlyExposeSelectedCatalog
(t *testing.T)
server/session_database_metadata_test.go:506
FunctionTestPgTypeHasComplexTypeOIDs
TestPgTypeHasComplexTypeOIDs verifies that the pg_type view includes synthetic entries for PostgreSQL OIDs used by pg_attribute. Without these, JOIN p
server/catalog_test.go:170
FunctionTestPgxBinaryFormatResults
TestPgxBinaryFormatResults tests that the extended query protocol correctly handles binary result format codes. pgx (and JDBC) request binary format f
tests/integration/clients/clients_test.go:699
FunctionTestPgxPing
TestPgxPing tests that pgx.Conn.Ping() works correctly. pgx sends "-- ping" via the simple query protocol for Ping(), which exercises comment-only que
tests/integration/protocol_test.go:16
FunctionTestPinSecretDirectory
TestPinSecretDirectory is the regression guard for the worker-side fix: with Config.PinSecretDirectory set (as duckdbservice.OpenDuckDBPair does for e
server/persistent_secrets_test.go:25
FunctionTestPinSecretDirectoryIgnoresLegacyDefault
TestPinSecretDirectoryIgnoresLegacyDefault proves point (b): a secret written to DuckDB's old $HOME-style default location is not loaded once the dire
server/persistent_secrets_test.go:57
FunctionTestPlaceholderPodGenerateName
(t *testing.T)
controlplane/headroom_test.go:98
FunctionTestPostgresInvalidCatalogSQLSTATE
A non-selectable database name (anything other than ducklake/empty) is rejected with 3D000 — the database param is now catalog selection, not an org/i
controlplane/sni_kubernetes_test.go:274
FunctionTestPostgresSNIOffIgnoresSNI
(t *testing.T)
controlplane/sni_kubernetes_test.go:227
FunctionTestPostgresSNIRequiresManagedOrgMatch
(t *testing.T)
controlplane/sni_kubernetes_test.go:207
FunctionTestPostgresSNIUnknownModeIgnoresSNI
(t *testing.T)
controlplane/sni_kubernetes_test.go:249
FunctionTestPreBindSocketsCleanupOnPartialFailure
(t *testing.T)
controlplane/worker_mgr_process_test.go:811
FunctionTestPreBindSocketsCreatesListeners
(t *testing.T)
controlplane/worker_mgr_process_test.go:786
FunctionTestPrefixCollisionAvoided
TestPrefixCollisionAvoided ensures the placeholder prefix is bumped when the default prefix already appears in the input.
transpiler/longident_test.go:147
FunctionTestPreparedStatementEdgeCases
TestPreparedStatementEdgeCases tests advanced prepared statement scenarios. Note: basic prepare/execute/reuse is covered by TestProtocolExtendedQuery.
tests/integration/edge_cases_test.go:238
FunctionTestPreparedStatements
TestPreparedStatements tests that prepared statements work correctly
tests/integration/clients/clients_test.go:517
FunctionTestPreparedStmtMultiStatement
TestPreparedStmtMultiStatement verifies that preparedStmt can store multi-statement results from writable CTE transforms for the extended query protoc
server/conn_test.go:2888
FunctionTestProfilingCoverageAllCoversNonSelect
TestProfilingCoverageAllCoversNonSelect pins the behavior that motivates `SET profiling_coverage = 'ALL'` in ConfigureMainDB: with the default coverag
server/profiling_test.go:89
FunctionTestProfilingOutputCompaction
(t *testing.T)
duckdbservice/profiling_test.go:25
FunctionTestProfilingOutputGRPCSafety
(t *testing.T)
duckdbservice/profiling_test.go:72
FunctionTestProfilingOutputToFile
(t *testing.T)
server/profiling_test.go:16
FunctionTestProfilingSettingsArePerConnection
TestProfilingSettingsArePerConnection reproduces the cluster-mode bug: DuckDB profiling settings are session-scoped (DuckDB rejects `SET GLOBAL` for `
server/profiling_test.go:225
FunctionTestProtectDedupesRepeatedIdentifier
(t *testing.T)
transpiler/longident_test.go:120
FunctionTestProtectMultipleDistinctIdentifiers
(t *testing.T)
transpiler/longident_test.go:135
FunctionTestProtectNeverPanicsAndIsSafe
TestProtectNeverPanicsAndIsSafe feeds adversarial inputs (unterminated quotes, nested comments, multibyte runs, adjacent placeholders) to make sure th
transpiler/longident_test.go:208
FunctionTestProtectNoOpForShortQueries
(t *testing.T)
transpiler/longident_test.go:112
FunctionTestProtectPreservesLongTableName
(t *testing.T)
transpiler/longident_test.go:36
FunctionTestProtectQuotedLongIdentifier
(t *testing.T)
transpiler/longident_test.go:63
FunctionTestProtectSkipsComments
(t *testing.T)
transpiler/longident_test.go:93
FunctionTestProtectSkipsDollarQuoted
(t *testing.T)
transpiler/longident_test.go:85
FunctionTestProtectSkipsEString
(t *testing.T)
transpiler/longident_test.go:104
FunctionTestProtectSkipsStringLiterals
(t *testing.T)
transpiler/longident_test.go:71
FunctionTestProtectVariousStatements
(t *testing.T)
transpiler/longident_test.go:43
FunctionTestProtocolDataTypes
TestProtocolDataTypes tests that various data types are correctly transmitted
tests/integration/protocol_test.go:391
FunctionTestProtocolErrors
TestProtocolErrors tests error handling
tests/integration/protocol_test.go:345
FunctionTestProtocolExtendedQuery
TestProtocolExtendedQuery tests the extended query protocol (prepared statements)
tests/integration/protocol_test.go:156
← previousnext →4,901–5,000 of 5,901, ranked by callers