MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestSummarizeAttachStmt
TestSummarizeAttachStmt verifies log/error output never includes secret material embedded in CREATE SECRET statements.
server/attach_timeout_test.go:167
FunctionTestSupersetQueries
TestSupersetQueries tests queries commonly issued by Apache Superset
tests/integration/clients/clients_test.go:194
FunctionTestSupportsLimit
(t *testing.T)
server/flightsqlingress/ingress_test.go:467
FunctionTestSupportsReadOnlySchemaInference
(t *testing.T)
server/flightsqlingress/ingress_test.go:1695
FunctionTestTLSConfigUsesExplicitServerName
(t *testing.T)
tests/perf/drivers/flight/driver_test.go:38
FunctionTestTableNames
(t *testing.T)
controlplane/configstore/store_test.go:495
FunctionTestTableauQueries
TestTableauQueries tests queries commonly issued by Tableau
tests/integration/clients/clients_test.go:240
FunctionTestTakeOverWorkerPostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2547
FunctionTestTakeOverWorkerSkipsNonReclaimableStatesPostgres
(t *testing.T)
tests/configstore/runtime_store_postgres_test.go:2593
FunctionTestTakePreboundAndReturnRoundTrip
(t *testing.T)
controlplane/worker_mgr_process_test.go:849
FunctionTestTeardownContinuesCleanupWhenDucklingsDoNotDelete
(t *testing.T)
tests/e2e-mw-dev/run_sh_test.go:85
FunctionTestTenantIsolationConfigStoreSeedSQL
(t *testing.T)
tests/configstore/seed_sql_test.go:94
FunctionTestTier0MatchesTier1
(t *testing.T)
transpiler/transpiler_test.go:4565
FunctionTestTokenFingerprint
TestTokenFingerprint verifies the session-token fingerprint used for logging is deterministic, non-reversible (never equal to the input), and fixed-le
server/flightsqlingress/ingress_test.go:1958
FunctionTestTokenSet
(t *testing.T)
controlplane/admin/dashboard_test.go:139
FunctionTestTokenSetCount
(t *testing.T)
controlplane/admin/dashboard_test.go:172
FunctionTestTotalSystemMemoryBytes
(t *testing.T)
server/sysinfo/sysinfo_test.go:60
FunctionTestTracingForwardUncached
TestTracingForwardUncached asserts non-GET (uncached) requests get a cache.forward span carrying the response status.
cmd/cache-proxy/tracing_test.go:127
FunctionTestTracingMissThenHit
TestTracingMissThenHit asserts the proxy emits a cache.get root span on a cacheable GET, a nested cache.origin_fetch child on a miss (same trace, chil
cmd/cache-proxy/tracing_test.go:70
FunctionTestTransactionCommitClosesAllCursors
(t *testing.T)
server/conn_test.go:3693
FunctionTestTransactionErrorOnCopyFailure
(t *testing.T)
server/conn_test.go:3671
FunctionTestTransactionErrorStatus
(t *testing.T)
server/conn_test.go:532
FunctionTestTransactionRollbackClosesAllCursors
(t *testing.T)
server/conn_test.go:3712
FunctionTestTransactionStatusTracking
(t *testing.T)
server/conn_test.go:495
FunctionTestTransactionStatusWithCopyCommands
(t *testing.T)
server/conn_test.go:3637
FunctionTestTransactions
TestTransactions tests transaction handling
tests/integration/clients/clients_test.go:636
FunctionTestTranspile_AlterColumnTypeUsingRejected
(t *testing.T)
transpiler/transpiler_test.go:1041
FunctionTestTranspile_ArrayUpperInRangeFunction
(t *testing.T)
transpiler/transpiler_test.go:3994
FunctionTestTranspile_BooleanPredicateComparisons
(t *testing.T)
transpiler/transpiler_test.go:3523
FunctionTestTranspile_BooleanPredicateComparisonsInCaseWhenConditions
(t *testing.T)
transpiler/transpiler_test.go:3719
FunctionTestTranspile_BooleanPredicateComparisonsInInsertOnConflictPredicates
(t *testing.T)
transpiler/transpiler_test.go:3678
FunctionTestTranspile_BooleanPredicateComparisonsInMergePredicates
(t *testing.T)
transpiler/transpiler_test.go:3731
FunctionTestTranspile_BooleanPredicateComparisonsSkipScalarWrappers
(t *testing.T)
transpiler/transpiler_test.go:3580
FunctionTestTranspile_BooleanPredicateComparisonsWithDMLCTEs
(t *testing.T)
transpiler/transpiler_test.go:3637
FunctionTestTranspile_ClickHouseMacros_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:4314
FunctionTestTranspile_CollatePgCatalogDefault
(t *testing.T)
transpiler/transpiler_test.go:3828
FunctionTestTranspile_ComplexQueries
(t *testing.T)
transpiler/transpiler_test.go:1722
FunctionTestTranspile_CreateOrReplaceTable_LogicalCatalog
(t *testing.T)
transpiler/transpiler_test.go:370
FunctionTestTranspile_CreateOrReplaceView_Unaffected
CREATE OR REPLACE VIEW is valid PostgreSQL and must NOT be touched by the CREATE OR REPLACE TABLE interceptor.
transpiler/transpiler_test.go:439
FunctionTestTranspile_CtidToRowid
(t *testing.T)
transpiler/transpiler_test.go:4042
FunctionTestTranspile_CustomMacros_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:4229
FunctionTestTranspile_DDL_AlterTableMultiColumn
(t *testing.T)
transpiler/transpiler_test.go:1120
FunctionTestTranspile_DDL_Complex
(t *testing.T)
transpiler/transpiler_test.go:1799
FunctionTestTranspile_DDL_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:968
FunctionTestTranspile_DDL_NoOps
(t *testing.T)
transpiler/transpiler_test.go:1059
FunctionTestTranspile_DDL_StripsGeneratedColumnWhenSoleTrigger
A CREATE TABLE whose only DDL trigger word is GENERATED must still be classified for the DDL transform and have the generated column stripped — a regr
transpiler/transpiler_test.go:1109
FunctionTestTranspile_DropCascade_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:2179
FunctionTestTranspile_DropCascade_NonDuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:2232
FunctionTestTranspile_ETLPatterns
(t *testing.T)
transpiler/transpiler_test.go:1764
FunctionTestTranspile_EmptyQuery
(t *testing.T)
transpiler/transpiler_test.go:1842
FunctionTestTranspile_ExpandArray
(t *testing.T)
transpiler/transpiler_test.go:2380
FunctionTestTranspile_FallbackParamCount
(t *testing.T)
transpiler/transpiler_test.go:3350
FunctionTestTranspile_FallbackToNative
(t *testing.T)
transpiler/transpiler_test.go:2790
FunctionTestTranspile_FeatureNotSupported_Rejected
(t *testing.T)
transpiler/transpiler_test.go:322
FunctionTestTranspile_FormatStringConversion
(t *testing.T)
transpiler/transpiler_test.go:4741
FunctionTestTranspile_FuncAlias
(t *testing.T)
transpiler/transpiler_test.go:912
FunctionTestTranspile_FunctionMappings
(t *testing.T)
transpiler/transpiler_test.go:1966
FunctionTestTranspile_InformationSchema
(t *testing.T)
transpiler/transpiler_test.go:165
FunctionTestTranspile_InformationSchema_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:244
FunctionTestTranspile_JSONOperators
(t *testing.T)
transpiler/transpiler_test.go:2245
FunctionTestTranspile_JSONOperators_CreateTableAs
TestTranspile_JSONOperators_CreateTableAs is the regression test for the CREATE TABLE AS / CREATE OR REPLACE TABLE AS path. Before the fix, OperatorT
transpiler/transpiler_test.go:2309
FunctionTestTranspile_LogicalCatalogMapping_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:277
FunctionTestTranspile_LogicalDatabaseCatalog
(t *testing.T)
transpiler/transpiler_test.go:580
FunctionTestTranspile_LogicalDatabaseCatalogDDL
(t *testing.T)
transpiler/transpiler_test.go:718
FunctionTestTranspile_LogicalDatabaseCatalogMapping
(t *testing.T)
transpiler/transpiler_test.go:635
FunctionTestTranspile_LogicalDatabaseCatalogMapping_AlterTableRename
(t *testing.T)
transpiler/transpiler_test.go:698
FunctionTestTranspile_LogicalDatabaseCatalogMapping_DbtRenameFlow
(t *testing.T)
transpiler/transpiler_test.go:770
FunctionTestTranspile_MacroFunctions
(t *testing.T)
transpiler/transpiler_test.go:4849
FunctionTestTranspile_MappedFunctionsFireAlone
Functions in functionNameMapping must each have a Classify token: a query whose ONLY PG-ism is that function must still be rewritten. Regression for t
transpiler/transpiler_test.go:4413
FunctionTestTranspile_NewFunctionMappings
(t *testing.T)
transpiler/transpiler_test.go:4947
FunctionTestTranspile_OnConflict
(t *testing.T)
transpiler/transpiler_test.go:2042
FunctionTestTranspile_OnConflict_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:2074
FunctionTestTranspile_OrderByTransforms
(t *testing.T)
transpiler/transpiler_test.go:3894
FunctionTestTranspile_OtherSetNotQuerySource
TestTranspile_OtherDuckgresParamNotIntercepted guards the interception scope: only duckgres.query_source is handled here. Another duckgres.* SET is no
transpiler/query_source_test.go:67
FunctionTestTranspile_PassThrough
(t *testing.T)
transpiler/transpiler_test.go:12
FunctionTestTranspile_PgCatalog
(t *testing.T)
transpiler/transpiler_test.go:74
FunctionTestTranspile_PgCatalogStubViews
(t *testing.T)
transpiler/transpiler_test.go:4122
FunctionTestTranspile_PgCatalog_ColumnRefRewrite
(t *testing.T)
transpiler/transpiler_test.go:3109
FunctionTestTranspile_PgCatalog_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:456
FunctionTestTranspile_Placeholders
(t *testing.T)
transpiler/transpiler_test.go:1244
FunctionTestTranspile_PrivilegeFunctions_ThreeArgRewrite
(t *testing.T)
transpiler/transpiler_test.go:4887
FunctionTestTranspile_PublicSchema
(t *testing.T)
transpiler/transpiler_test.go:519
FunctionTestTranspile_QuerySourceMultiStatementNotIntercepted
TestTranspile_QuerySourceMultiStatementNotIntercepted guards the fix for the e2e bug: transpiling a MULTI-statement batch that starts with a duckgres.
transpiler/query_source_test.go:90
FunctionTestTranspile_QuerySourceSet
TestTranspile_QuerySourceSet asserts that `SET duckgres.query_source = '...'` is intercepted as a duckgres-namespaced custom GUC (QuerySourceSet popul
transpiler/query_source_test.go:8
FunctionTestTranspile_QuerySourceShow
TestTranspile_QuerySourceShow asserts `SHOW duckgres.query_source` is intercepted (answered session-side) rather than treated as an unrecognized confi
transpiler/query_source_test.go:47
FunctionTestTranspile_RangeFunction
(t *testing.T)
transpiler/transpiler_test.go:3947
FunctionTestTranspile_RegexOperators
(t *testing.T)
transpiler/transpiler_test.go:3417
FunctionTestTranspile_SQLSyntaxFunctions
(t *testing.T)
transpiler/transpiler_test.go:3233
FunctionTestTranspile_SetShow
(t *testing.T)
transpiler/transpiler_test.go:1272
FunctionTestTranspile_ShowCreateTable
(t *testing.T)
transpiler/transpiler_test.go:1451
FunctionTestTranspile_ShowCreateTable_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:1630
FunctionTestTranspile_SimilarTo
(t *testing.T)
transpiler/transpiler_test.go:3772
FunctionTestTranspile_SimilarTo_DuckLakeMode
(t *testing.T)
transpiler/transpiler_test.go:3881
FunctionTestTranspile_TypeCast
(t *testing.T)
transpiler/transpiler_test.go:813
FunctionTestTranspile_TypeCast_JsonType
(t *testing.T)
transpiler/transpiler_test.go:3176
FunctionTestTranspile_TypeMappings
(t *testing.T)
transpiler/transpiler_test.go:1896
FunctionTestTranspile_Version
(t *testing.T)
transpiler/transpiler_test.go:898
FunctionTestTranspile_ViewStmtWalking
(t *testing.T)
transpiler/transpiler_test.go:4183
FunctionTestTranspile_WhitespaceQuery
(t *testing.T)
transpiler/transpiler_test.go:1854
FunctionTestTranspile_WritableCTE
(t *testing.T)
transpiler/transpiler_test.go:2520
← previousnext →5,501–5,600 of 5,901, ranked by callers