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
TestFlightAuthSessionStoreRejectsNewSessionsWhileDraining
(t *testing.T)
server/flightsqlingress/ingress_test.go:1470
Function
TestFlightAuthSessionStoreTerminalReconnectCloseIsAtomicWithDurableRefresh
(t *testing.T)
server/flightsqlingress/ingress_test.go:1402
Function
TestFlightAuthSessionStoreTerminalReconnectDoesNotCloseUpdatedDurableRecord
(t *testing.T)
server/flightsqlingress/ingress_test.go:1339
Function
TestFlightAuthSessionStoreWaitForZeroSessions
(t *testing.T)
server/flightsqlingress/ingress_test.go:1498
Function
TestFlightExecutorWithSessionAddsOwnerEpochHeader
(t *testing.T)
server/flightclient/flight_executor_test.go:26
Function
TestFlightHandlersDoNotUseSessionConnDirectly
(t *testing.T)
duckdbservice/session_conn_guard_test.go:15
Function
TestFlightIngressAcceptsNewConnectionsAfterHandover
(t *testing.T)
tests/controlplane/flight_ingress_test.go:218
Function
TestFlightIngressIncludeSchemaLowWorkerRegression
(t *testing.T)
tests/controlplane/flight_ingress_test.go:117
Function
TestFlightIngressPassesClientSNIToValidator
(t *testing.T)
server/flightsqlingress/ingress_test.go:269
Function
TestFlightIngressServerIssuedSessionTokenAllowsTokenOnlyAuth
(t *testing.T)
tests/controlplane/flight_ingress_test.go:173
Function
TestFlightOrgFromContextResolvesViaSNI
TestFlightOrgFromContextResolvesViaSNI verifies that session routing derives the org from the connection's TLS SNI (the load-bearing path the no-colli
controlplane/sni_kubernetes_test.go:381
Function
TestFlightRowSetCloseSkipsWaitAfterCleanEOF
(t *testing.T)
server/flightclient/flight_executor_test.go:244
Function
TestFlightRowSetCloseSkipsWaitAfterExecutorMarkedDead
(t *testing.T)
server/flightclient/flight_executor_test.go:273
Function
TestFlightRowSetCloseTreatsTerminalWaitFailureAsBestEffort
(t *testing.T)
server/flightclient/flight_executor_test.go:310
Function
TestFlightRowSetCloseWaitsForWorkerDoGetCleanup
(t *testing.T)
server/flightclient/flight_executor_test.go:200
Function
TestFlightSessionTokenLifecycleIssueValidateRevokeExpiryMatrix
(t *testing.T)
server/flightsqlingress/ingress_test.go:927
Function
TestFlightValidatorMatchedSNI
Flight identity is now SNI-only in every mode: the org is resolved from the managed hostname via ResolveSNIPrefix and the user is authenticated within
controlplane/sni_kubernetes_test.go:346
Function
TestFlightValidatorRejectsUnmanagedHostname
TestFlightValidatorRejectsUnmanagedHostname: a non-managed hostname (or empty SNI) has no org and must fail — there is no username-scan fallback.
controlplane/sni_kubernetes_test.go:428
Function
TestFlightValidatorUnknownOrg
TestFlightValidatorUnknownOrg: SNI matches the suffix, but the prefix resolves to no org. Must return false.
controlplane/sni_kubernetes_test.go:411
Function
TestFormatArgValueBackslashRoundTrip
Audit H5 regression test. formatArgValue doubles backslashes (`\` → `\\`) before wrapping the value in a single-quoted literal. DuckDB standard `'...
server/flightclient/interpolate_backslash_test.go:23
Function
TestFormatBytes
(t *testing.T)
controlplane/memory_rebalancer_test.go:50
Function
TestFormatBytesPrecision
(t *testing.T)
controlplane/memory_rebalancer_test.go:126
Function
TestFormatCopyValue
(t *testing.T)
server/conn_test.go:2321
Function
TestFormatInterval
(t *testing.T)
server/conn_test.go:3397
Function
TestFormatOrderedMapValue_Basic
formatOrderedMapValue tests. Live here in package server because the function under test calls formatValue (defined in conn_results.go) which switches
server/format_ordered_map_test.go:14
Function
TestFormatOrderedMapValue_Empty
(t *testing.T)
server/format_ordered_map_test.go:30
Function
TestFormatOrderedMapValue_IntegerKeys
(t *testing.T)
server/format_ordered_map_test.go:22
Function
TestFormatOrderedMapValue_NilValue
(t *testing.T)
server/format_ordered_map_test.go:38
Function
TestFormatOrderedMapValue_PreservesOrder
(t *testing.T)
server/format_ordered_map_test.go:46
Function
TestFormatSQLValue
(t *testing.T)
server/ducklake/migration_test.go:233
Function
TestFormatTypeTimePrecision
TestFormatTypeTimePrecision tests that format_type correctly handles time type precision
tests/integration/catalog_test.go:555
Function
TestForwardUncachedLogsNon2xxWithBodyPreview
TestForwardUncachedLogsNon2xxWithBodyPreview is the symptomatic case the PR addresses: when an upstream rejects a PUT/POST (e.g. an S3 endpoint return
cmd/cache-proxy/proxy_test.go:945
Function
TestForwardUncachedLogsSuccess
TestForwardUncachedLogsSuccess locks in the invariant that a successful PUT/POST through the forward-proxy path produces a log line. Pre-PR this path
cmd/cache-proxy/proxy_test.go:912
Function
TestForwardUncachedPreservesMethod
TestForwardUncachedPreservesMethod walks every method that hits the non-GET path and checks the origin saw the same method. Ensures we don't accidenta
cmd/cache-proxy/proxy_test.go:1364
Function
TestForwardUncachedPreservesNon2xxResponseBodyBytewise
TestForwardUncachedPreservesNon2xxResponseBodyBytewise covers the log-preview path on non-2xx — the proxy reads the full body for the body_preview log
cmd/cache-proxy/proxy_test.go:1338
Function
TestForwardUncachedPreservesQueryString
TestForwardUncachedPreservesQueryString covers AWS S3 multipart-upload query params (?uploads, ?partNumber=N&uploadId=...). Sigv4's canonical request
cmd/cache-proxy/proxy_test.go:1285
Function
TestForwardUncachedPreservesRequestHeaders
TestForwardUncachedPreservesRequestHeaders verifies that arbitrary non-hop-by-hop request headers (Authorization, x-amz-*, custom) round-trip to the o
cmd/cache-proxy/proxy_test.go:1203
Function
TestForwardUncachedPreservesResponseBodyBytewise
TestForwardUncachedPreservesResponseBodyBytewise locks in that 2xx response bodies are forwarded byte-for-byte (no compression / no transcoding). Duck
cmd/cache-proxy/proxy_test.go:1309
Function
TestForwardUncachedPropagatesContentLength
TestForwardUncachedPropagatesContentLength is the regression test for the AWS S3 "501 Not Implemented" error on parquet PUTs. The proxy used to build
cmd/cache-proxy/proxy_test.go:1149
Function
TestForwardUncachedStripsHopByHopBothDirections
TestForwardUncachedStripsHopByHopBothDirections verifies that hop-by-hop headers (per RFC 7230 §6.1) are NOT forwarded in either direction. Forwarding
cmd/cache-proxy/proxy_test.go:1243
Function
TestForwardUncachedTruncatesLargeBodyInLog
TestForwardUncachedTruncatesLargeBodyInLog verifies previewBody is applied — a multi-KiB error envelope must not flood log storage.
cmd/cache-proxy/proxy_test.go:1120
Function
TestFrozenDBTScenarioUsesSupportedStepsAndRelativeProject
(t *testing.T)
tests/scenario/runner_test.go:351
Function
TestFrozenMetadataScenarioRequiresDatasetURI
(t *testing.T)
tests/scenario/runner_test.go:230
Function
TestFrozenMetadataScenarioResolvesEnvTemplates
(t *testing.T)
tests/scenario/runner_test.go:243
Function
TestFrozenPerfScenarioUsesSupportedStepsAndRelativeCatalog
(t *testing.T)
tests/scenario/runner_test.go:301
Function
TestFrozenSuccessScenariosUseValidProvisioningSlugs
(t *testing.T)
tests/scenario/runner_test.go:158
Function
TestFunctionsAggregate
TestFunctionsAggregate tests aggregate functions
tests/integration/functions_test.go:199
Function
TestFunctionsArray
TestFunctionsArray tests array functions
tests/integration/functions_test.go:304
Function
TestFunctionsConditional
TestFunctionsConditional tests conditional functions
tests/integration/functions_test.go:330
Function
TestFunctionsDateTime
TestFunctionsDateTime tests date/time functions
tests/integration/functions_test.go:146
Function
TestFunctionsJSON
TestFunctionsJSON tests JSON functions
tests/integration/functions_test.go:252
Function
TestFunctionsMisc
TestFunctionsMisc tests miscellaneous functions
tests/integration/functions_test.go:354
Function
TestFunctionsNumeric
TestFunctionsNumeric tests numeric functions
tests/integration/functions_test.go:89
Function
TestFunctionsString
TestFunctionsString tests string functions
tests/integration/functions_test.go:8
Function
TestGenerateDeterministicStable
(t *testing.T)
tests/perf/datasets/generator_test.go:5
Function
TestGetCommandType
(t *testing.T)
server/conn_test.go:200
Function
TestGetCommandTypeWithConstraints
Note: DDL rewriting tests (rewriteForDuckLake, isNoOpCommand, getNoOpCommandTag) have been moved to transpiler/transpiler_test.go. The transpiler pack
server/ducklake_test.go:11
Function
TestGetFlightSessionRecordReturnsNilWhenMissing
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2032
Function
TestGetOrgIncludesWarehouse
(t *testing.T)
controlplane/admin/api_test.go:495
Function
TestGetOrgOmitsMaxConnections
(t *testing.T)
controlplane/admin/api_test.go:1176
Function
TestGetOrgOmitsMinWorkers
(t *testing.T)
controlplane/admin/api_test.go:1156
Function
TestGetQuerySchemaExplainDoesNotExecute
(t *testing.T)
duckdbservice/arrow_helpers_test.go:1024
Function
TestGetQuerySchemaTrailingSemicolon
(t *testing.T)
duckdbservice/arrow_helpers_test.go:1185
Function
TestGetTouchAndCloseFlightSessionRecordPostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:1920
Function
TestGetWarehouseNotFound
(t *testing.T)
controlplane/provisioning/api_test.go:506
Function
TestGetWarehouseReturnsNotFoundWhenMissing
(t *testing.T)
controlplane/admin/api_test.go:548
Function
TestGetWarehouseStatus
(t *testing.T)
controlplane/provisioning/api_test.go:475
Function
TestGetWorkerRecordReturnsNilNilForMissingRow
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:743
Function
TestGoNilDerefStillPanics
TestGoNilDerefStillPanics pins the chaining contract: the native handler must NOT hijack SIGSEGV raised by Go code — those keep producing ordinary Go
internal/crashhandler/crashhandler_test.go:113
Function
TestGoldenQueryPerformanceHarness
(t *testing.T)
tests/perf/harness_test.go:47
Function
TestGrafanaQueries
TestGrafanaQueries tests queries commonly issued by Grafana
tests/integration/clients/clients_test.go:148
Function
TestHandleBindAcceptsValidParam
(t *testing.T)
server/conn_bind_test.go:124
Function
TestHandleBindMalformedFieldsReturnProtocolViolation
Regression test for #720: malformed counts/lengths in a Bind message used to reach make() unvalidated and panic with "makeslice: len out of range" (re
server/conn_bind_test.go:86
Function
TestHandleBindRejectsOversizedParamLength
Regression test for #717: a Bind parameter length is client-controlled and must be bounded by the remaining message bytes before allocating — a client
server/conn_bind_test.go:54
Function
TestHandleBindValidMessageStillBinds
Sanity-check the happy path still binds: one NULL param (length -1), default format codes everywhere.
server/conn_bind_test.go:145
Function
TestHandleConnectLogsDialFailure
TestHandleConnectLogsDialFailure: when the upstream is unreachable, the proxy must respond 502 to the client AND emit a Warn so the failure is visible
cmd/cache-proxy/proxy_test.go:1087
Function
TestHandleConnectLogsOpenAndClose
TestHandleConnectLogsOpenAndClose drives a real HTTPS CONNECT tunnel through the proxy and asserts that: - "Forward-proxy CONNECT opened." fires when
cmd/cache-proxy/proxy_test.go:988
Function
TestHandleConnectionIsolated_GSSENCStallReturns
(t *testing.T)
server/startup_timeout_test.go:65
Function
TestHandleConnectionNonSSLStartupDoesNotRecordFailedAuth
(t *testing.T)
controlplane/control_test.go:75
Function
TestHandleCopyInCSVWithBlob
(t *testing.T)
server/conn_test.go:3953
Function
TestHandleCopyInCSVWithBlob_NullValues
(t *testing.T)
server/conn_test.go:4054
Function
TestHandleCopyOutLogsSyntaxError
(t *testing.T)
server/conn_querylog_feedback_test.go:130
Function
TestHandleCopyOutWithBinaryShorthandWritesBinaryStream
(t *testing.T)
server/conn_test.go:2991
Function
TestHandleDescribeExplainDoesNotExecute
(t *testing.T)
server/conn_describe_test.go:99
Function
TestHandleDescribePortalPreservesExistingLimit
(t *testing.T)
server/conn_describe_test.go:135
Function
TestHandleDescribePortalUsesLimitZeroProbe
(t *testing.T)
server/conn_describe_test.go:66
Function
TestHandleExecuteAbortedRecoveryPreservesAlterViewFallback
(t *testing.T)
server/conn_test.go:1859
Function
TestHandleExecuteLogsRowsErr
(t *testing.T)
server/conn_querylog_feedback_test.go:151
Function
TestHandleExecuteRecoversAbortedAutocommitAlterViewFallback
(t *testing.T)
server/conn_test.go:1911
Function
TestHandleFetchCursorLogsMissingCursorError
(t *testing.T)
server/conn_querylog_feedback_test.go:103
Function
TestHandlePeerHasAndGet
(t *testing.T)
cmd/cache-proxy/proxy_test.go:759
Function
TestHandlePeerRejectsInvalidKey
(t *testing.T)
cmd/cache-proxy/proxy_test.go:797
Function
TestHandleProxyDoesNotCacheErrorResponses
TestHandleProxyDoesNotCacheErrorResponses: a transient origin error must not poison the cache. The next request for the same key has to hit the origin
cmd/cache-proxy/proxy_test.go:713
Function
TestHandleProxyDoesNotRetryTerminalOriginStatuses
(t *testing.T)
cmd/cache-proxy/proxy_test.go:612
Function
TestHandleProxyForwardsOrigin400Verbatim
TestHandleProxyForwardsOrigin400Verbatim is the case the user actually hit: S3 returns 400 with an XML envelope (<Code>ExpiredToken</Code>) and DuckDB
cmd/cache-proxy/proxy_test.go:650
Function
TestHandleProxyForwardsOrigin404Verbatim
TestHandleProxyForwardsOrigin404Verbatim: a 404 must stay a 404 so DuckDB / DuckLake can distinguish "object missing" (terminal) from "transient gatew
cmd/cache-proxy/proxy_test.go:679
Function
TestHandleProxyForwardsOrigin416Verbatim
TestHandleProxyForwardsOrigin416Verbatim: Range Not Satisfiable carries semantically important metadata for DuckLake; collapsing to 502 made it look l
cmd/cache-proxy/proxy_test.go:694
Function
TestHandleProxyForwardsOrigin5xxVerbatim
TestHandleProxyForwardsOrigin5xxVerbatim: a transient 5xx that keeps failing must eventually be passed back to DuckDB unchanged. Translating a 500 int
cmd/cache-proxy/proxy_test.go:203
Function
TestHandleProxyGETMissThenHit
(t *testing.T)
cmd/cache-proxy/proxy_test.go:125
Function
TestHandleProxyHEADForwardedUncached
(t *testing.T)
cmd/cache-proxy/proxy_test.go:158
← previous
next →
4,401–4,500 of 5,901, ranked by callers