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
TestProtocolLargeResults
TestProtocolLargeResults tests handling of large result sets
tests/integration/protocol_test.go:584
Function
TestProtocolMultipleStatements
TestProtocolMultipleStatements tests handling of multiple statements
tests/integration/protocol_test.go:527
Function
TestProtocolRowDescription
TestProtocolRowDescription tests that column metadata is correctly returned
tests/integration/protocol_test.go:477
Function
TestProtocolSimpleQuery
TestProtocolSimpleQuery tests the simple query protocol
tests/integration/protocol_test.go:69
Function
TestProtocolTransactions
TestProtocolTransactions tests transaction handling
tests/integration/protocol_test.go:252
Function
TestProvisionAcceptsHyphenatedOrgID
(t *testing.T)
controlplane/provisioning/api_test.go:862
Function
TestProvisionAllowsRetryAfterDeleted
(t *testing.T)
controlplane/provisioning/api_test.go:373
Function
TestProvisionAllowsRetryAfterFailure
(t *testing.T)
controlplane/provisioning/api_test.go:349
Function
TestProvisionAutoCreatesOrg
(t *testing.T)
controlplane/provisioning/api_test.go:214
Function
TestProvisionCnpgShard
(t *testing.T)
controlplane/provisioning/api_test.go:587
Function
TestProvisionComputesS3BucketName
When a bucket suffix is configured, a fresh per-org s3bucket gets the CP-owned name pinned on the warehouse (→ Duckling CR spec.dataStore.bucketName)
controlplane/provisioning/api_test.go:694
Function
TestProvisionDuckLakeExternal
(t *testing.T)
controlplane/provisioning/api_test.go:645
Function
TestProvisionEmitsAnalyticsEvent
(t *testing.T)
controlplane/provisioning/analytics_events_test.go:53
Function
TestProvisionExternalDataStoreRequiresBucket
(t *testing.T)
controlplane/provisioning/api_test.go:787
Function
TestProvisionExternalRequiresEndpointAndSecret
(t *testing.T)
controlplane/provisioning/api_test.go:764
Function
TestProvisionFailureEmitsNoEvent
(t *testing.T)
controlplane/provisioning/analytics_events_test.go:88
Function
TestProvisionNewOrgRequiresDefaultTeamID
TestProvisionNewOrgRequiresDefaultTeamID locks in the mandatory contract: provisioning a NEW org without default_team_id is rejected with 400 and crea
controlplane/provisioning/api_test.go:266
Function
TestProvisionNoBucketSuffixLeavesNameEmpty
Without a configured suffix the CP doesn't name buckets — the warehouse keeps an empty bucket name and the composition derives it (legacy behavior).
controlplane/provisioning/api_test.go:735
Function
TestProvisionPersistsDefaultTeamID
TestProvisionPersistsDefaultTeamID checks the default_team_id in the provision body is threaded through to the org record.
controlplane/provisioning/api_test.go:237
Function
TestProvisionRejectionScenarioUsesExpectedProvisionFailure
(t *testing.T)
tests/scenario/runner_test.go:196
Function
TestProvisionRejectsAurora
TestProvisionRejectsAurora locks in that the removed "aurora" metadata-store backend is no longer provisionable — the only creatable backends are cnpg
controlplane/provisioning/api_test.go:191
Function
TestProvisionRejectsEmptyBody
(t *testing.T)
controlplane/provisioning/api_test.go:314
Function
TestProvisionRejectsExistingNonTerminal
(t *testing.T)
controlplane/provisioning/api_test.go:329
Function
TestProvisionRejectsInvalidOrgID
(t *testing.T)
controlplane/provisioning/api_test.go:816
Function
TestProvisionRejectsOverlongSlugOrgID
(t *testing.T)
controlplane/provisioning/api_test.go:836
Function
TestProvisionRejectsStringDefaultTeamID
TestProvisionRejectsStringDefaultTeamID pins the wire contract: default_team_id is a JSON NUMBER (PostHog's integer Team.id). A quoted string is a dec
controlplane/provisioning/api_test.go:878
Function
TestProvisionRejectsUnsupportedMetadataStore
(t *testing.T)
controlplane/provisioning/api_test.go:801
Function
TestProvisionRequiresDuckLakeEnabled
TestProvisionRequiresDuckLakeEnabled verifies the catalog gate: DuckLake is the only catalog (Iceberg support was removed), so any provision request w
controlplane/provisioning/api_test.go:619
Function
TestProvisionSmokeScenarioUsesRunUniqueSupportedSteps
(t *testing.T)
tests/scenario/runner_test.go:126
Function
TestProvisionTransactionRollsBackOnUserFailure
(t *testing.T)
controlplane/provisioning/api_test.go:519
Function
TestPruneNodeFirstSeenLockedRemovesOnlyOrphanedEntries
(t *testing.T)
controlplane/k8s_pool_test.go:4505
Function
TestPublishArtifactsBootstrapsAndReplacesRunData
(t *testing.T)
tests/perf/publisher/publisher_test.go:147
Function
TestPublishArtifactsIfConfiguredInvokesPublisher
(t *testing.T)
tests/perf/harness_publisher_test.go:36
Function
TestPublishArtifactsIfConfiguredReturnsClearPublisherError
(t *testing.T)
tests/perf/harness_publisher_test.go:65
Function
TestPublishArtifactsIfConfiguredSkipsWhenDisabled
(t *testing.T)
tests/perf/harness_publisher_test.go:18
Function
TestPublishArtifactsRollsBackOnInsertFailure
(t *testing.T)
tests/perf/publisher/publisher_test.go:207
Function
TestPutStreamErrorMidStream
TestPutStreamErrorMidStream verifies that a reader failing mid-body leaves no servable entry, no LRU accounting, and no temp-file leak.
cmd/cache-proxy/cache_test.go:256
Function
TestPutStreamOversizedObject
TestPutStreamOversizedObject documents that an object larger than maxBytes is stored anyway (the eviction loop drains the cache but stops when empty),
cmd/cache-proxy/cache_test.go:313
Function
TestPutStreamOverwrite
TestPutStreamOverwrite verifies that re-streaming a key replaces it without double-counting currentSize or leaving a duplicate LRU entry (finding #2).
cmd/cache-proxy/cache_test.go:280
Function
TestPutStreamRoundTrip
(t *testing.T)
cmd/cache-proxy/cache_test.go:222
Function
TestPutWarehouseAllowsCustomProvisioningStates
(t *testing.T)
controlplane/admin/api_test.go:882
Function
TestPutWarehouseDisablesPgBouncerWhenSetToFalse
(t *testing.T)
controlplane/admin/api_test.go:690
Function
TestPutWarehouseMergesPartialUpdateIntoExistingWarehouse
(t *testing.T)
controlplane/admin/api_test.go:649
Function
TestPutWarehousePreservesNestedFieldsOnPartialUpdate
(t *testing.T)
controlplane/admin/api_test.go:728
Function
TestPutWarehouseRejectsCrossTenantSecretReference
(t *testing.T)
controlplane/admin/api_test.go:977
Function
TestPutWarehouseRejectsCrossTenantSecretRefs
(t *testing.T)
controlplane/admin/api_test.go:918
Function
TestPutWarehouseRejectsOversizedBody
(t *testing.T)
controlplane/admin/api_test.go:763
Function
TestPutWarehouseRejectsRemovedIcebergField
(t *testing.T)
controlplane/admin/api_test.go:710
Function
TestPutWarehouseRejectsSecretRefWithoutExplicitNamespace
(t *testing.T)
controlplane/admin/api_test.go:948
Function
TestPutWarehouseRejectsSecretReferenceOutsideOrgPrefix
(t *testing.T)
controlplane/admin/api_test.go:1006
Function
TestPutWarehouseRejectsSecretReferenceWithoutOrgPrefix
(t *testing.T)
controlplane/admin/api_test.go:1035
Function
TestPutWarehouseRejectsSecretRefsOutsideTenantScope
(t *testing.T)
controlplane/admin/api_test.go:782
Function
TestPutWarehouseRejectsSecretRefsWithoutWorkerNamespace
(t *testing.T)
controlplane/admin/api_test.go:815
Function
TestPutWarehouseRejectsServerManagedFields
(t *testing.T)
controlplane/admin/api_test.go:859
Function
TestPutWarehouseRejectsUnknownOrg
(t *testing.T)
controlplane/admin/api_test.go:845
Function
TestPutWarehouseUpsertsForExistingOrg
(t *testing.T)
controlplane/admin/api_test.go:562
Function
TestQueriesAggregateAcrossCPs
(t *testing.T)
controlplane/admin/live_aggregate_test.go:125
Function
TestQueryContextCancelsDoGetBeforeWaitingAfterSchemaError
(t *testing.T)
server/flightclient/flight_executor_test.go:374
Function
TestQueryContextReleasesHandleWhenDoGetFails
(t *testing.T)
server/flightclient/flight_executor_test.go:341
Function
TestQueryDetailFansOutAcrossCPs
TestQueryDetailFansOutAcrossCPs proves /queries/by-worker/:wid scatter-gathers: when the serving replica doesn't own the worker, it fetches peers and
controlplane/admin/live_test.go:64
Function
TestQueryDetailRoute
(t *testing.T)
controlplane/admin/live_test.go:21
Function
TestQueryDetailWorkerIDDistinguishesCollidingPIDs
TestQueryDetailWorkerIDDistinguishesCollidingPIDs is the regression for the addressing bug: PIDs are per-org (every stack starts at 1000), so two orgs
controlplane/admin/live_test.go:100
Function
TestQueryErrorsLegacyMetricRemoved
(t *testing.T)
server/query_metrics_test.go:311
Function
TestQueryLogDuckLakeDBDSNAllowsUnsignedExtensions
(t *testing.T)
server/querylog_kafka_writer_test.go:827
Function
TestQueryLogDuckLakeEntryWriterResolverEvictsLeastRecentlyUsedWriter
(t *testing.T)
server/querylog_kafka_writer_test.go:1039
Function
TestQueryLogDuckLakeEntryWriterResolverPrunesIdleWritersWithoutResolve
(t *testing.T)
server/querylog_kafka_writer_test.go:1091
Function
TestQueryLogDuckLakeEntryWriterResolverRefreshesExpiringCredentials
(t *testing.T)
server/querylog_kafka_writer_test.go:1147
Function
TestQueryLogDuckLakeEntryWriterResolverRefreshesIdleWriters
(t *testing.T)
server/querylog_kafka_writer_test.go:998
Function
TestQueryLogKafkaEventBatchInsertDeduplicatesEventIDsWithinBatch
(t *testing.T)
server/querylog_kafka_writer_test.go:937
Function
TestQueryLogKafkaEventBatchInsertIsIdempotentByEventID
(t *testing.T)
server/querylog_kafka_writer_test.go:881
Function
TestQueryLogKafkaEventInsertIsIdempotentByEventID
(t *testing.T)
server/querylog_kafka_writer_test.go:833
Function
TestQueryLogKafkaWriterAllowsEmptyQueryText
(t *testing.T)
server/querylog_kafka_writer_test.go:755
Function
TestQueryLogKafkaWriterCommitsDroppedInvalidEvent
(t *testing.T)
server/querylog_kafka_writer_test.go:734
Function
TestQueryLogKafkaWriterCommitsDroppedWriteFailure
(t *testing.T)
server/querylog_kafka_writer_test.go:202
Function
TestQueryLogKafkaWriterCommitsWhenOrgHasNoDuckLakeTarget
(t *testing.T)
server/querylog_kafka_writer_test.go:791
Function
TestQueryLogKafkaWriterDroppedWriteFailureMetricHasReason
(t *testing.T)
server/querylog_kafka_writer_test.go:242
Function
TestQueryLogKafkaWriterRetryLogRedactsSecrets
(t *testing.T)
server/querylog_kafka_writer_test.go:304
Function
TestQueryLogKafkaWriterRunBatchesMessagesByOrg
(t *testing.T)
server/querylog_kafka_writer_test.go:443
Function
TestQueryLogKafkaWriterRunDropsFailedOrgBatchAndCommitsPartition
(t *testing.T)
server/querylog_kafka_writer_test.go:615
Function
TestQueryLogKafkaWriterRunDropsFailedWriteBeforeFetchingNext
(t *testing.T)
server/querylog_kafka_writer_test.go:324
Function
TestQueryLogKafkaWriterRunFlushesOrgBatchOnInterval
(t *testing.T)
server/querylog_kafka_writer_test.go:690
Function
TestQueryLogKafkaWriterRunKeepsKafkaPartitionsIndependent
(t *testing.T)
server/querylog_kafka_writer_test.go:521
Function
TestQueryLogKafkaWriterRunRetriesCommitFailureBeforeFetchingNext
(t *testing.T)
server/querylog_kafka_writer_test.go:386
Function
TestQueryLogKafkaWriterWritesAndCommitsAfterSuccess
(t *testing.T)
server/querylog_kafka_writer_test.go:151
Function
TestQueryLogNonBlocking
(t *testing.T)
server/querylog_test.go:136
Function
TestQueryLogWriterActivationErrorIsNoDuckLakeTarget
(t *testing.T)
querylog_writer_mode_kubernetes_test.go:48
Function
TestQueryLogWriterAlertsReferenceWriterMetrics
(t *testing.T)
tests/manifests/manifests_test.go:218
Function
TestQueryLogWriterManifestDefinesDeployment
(t *testing.T)
tests/manifests/manifests_test.go:96
Function
TestQueryLogWriterManifestRequiresRuntimeConfig
(t *testing.T)
tests/manifests/manifests_test.go:121
Function
TestQueryLoggerFlushBatchPersistsOrgID
(t *testing.T)
server/querylog_test.go:449
Function
TestQueryLoggerStopIsIdempotent
(t *testing.T)
server/querylog_test.go:162
Function
TestQueryMetricsClassifiesSimpleWireWriteFailureAsError
(t *testing.T)
server/query_metrics_test.go:199
Function
TestQueryMetricsClassifiesTerminalWireWriteFailureAsError
(t *testing.T)
server/query_metrics_test.go:232
Function
TestQueryMetricsCountExtendedParseQueryErrorsWithoutDuration
(t *testing.T)
server/query_metrics_test.go:171
Function
TestQueryMetricsWrapSimpleAndExtendedEntryPoints
(t *testing.T)
server/query_metrics_test.go:121
Function
TestQueryProgressTimeout
(t *testing.T)
duckdbservice/progress_test.go:50
Function
TestQueryReturnsResults
(t *testing.T)
server/conn_test.go:659
Function
TestQueryReturnsResultsWithComments
TestQueryReturnsResultsWithComments verifies that queries with leading comments are correctly identified as result-returning queries.
server/conn_test.go:984
Function
TestQuerySourceGetter
TestQuerySourceGetter covers the session accessor a future compute meter reads: unset defaults to "standard", a SET value round-trips, and reset to em
server/query_source_test.go:15
Function
TestQuerySourceMixedBatchSetThenShow
TestQuerySourceMixedBatchSetThenShow is the regression for the e2e bug: a single simple query batching `SET duckgres.query_source='endpoints'; SHOW du
server/query_source_test.go:131
← previous
next →
5,001–5,100 of 5,901, ranked by callers