MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

↓ 1 callersMethodtestMetabaseSmokeQueries
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:323
↓ 1 callersMethodtestMetadata
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:227
↓ 1 callersMethodtestNamedPreparedStatementReuse
(String suite)
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:298
↓ 1 callersMethodtestPreparedStatementReuse
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:532
↓ 1 callersFunctiontestPreparedStatements
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:257
↓ 1 callersFunctiontestResultMetadata
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:309
↓ 1 callersMethodtestResultSetMetaData
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:627
↓ 1 callersMethodtestResultSetMetadata
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:294
↓ 1 callersFunctiontestSharedQueries
(ctx context.Context, r *reporter)
scripts/client-compat/clients/pgx/main.go:134
↓ 1 callersFunctiontestSharedQueries
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:137
↓ 1 callersMethodtestSharedQueries
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:125
↓ 1 callersMethodtestSharedQueries
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:123
↓ 1 callersFunctiontest_catalog_queries
Run the same introspection queries harlequin-postgres sends on connect.
scripts/client-compat/clients/harlequin/test_harlequin.py:50
↓ 1 callersFunctiontest_connection
Verify engine creation and basic connectivity.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:87
↓ 1 callersFunctiontest_connection_properties
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:129
↓ 1 callersFunctiontest_connection_properties
Verify startup parameters and connection attributes.
scripts/client-compat/clients/psycopg/test_psycopg.py:77
↓ 1 callersFunctiontest_copy_to
COPY TO STDOUT — bulk export.
scripts/client-compat/clients/psycopg/test_psycopg.py:306
↓ 1 callersFunctiontest_core_ddl_dml
SQLAlchemy Core: Table, insert, select, update, delete.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:127
↓ 1 callersFunctiontest_cursor_metadata
cursor.description after SELECT — drivers and ORMs rely on this.
scripts/client-compat/clients/psycopg/test_psycopg.py:225
↓ 1 callersFunctiontest_dbt_catalog
Run dbt docs generate — heavy catalog introspection.
scripts/client-compat/clients/dbt/test_dbt.py:185
↓ 1 callersFunctiontest_dbt_debug
Run dbt debug — tests connection and catalog introspection.
scripts/client-compat/clients/dbt/test_dbt.py:139
↓ 1 callersFunctiontest_dbt_run
Run dbt run — materializes models (view + table).
scripts/client-compat/clients/dbt/test_dbt.py:155
↓ 1 callersFunctiontest_dbt_test
Run dbt test — schema tests (not_null, unique).
scripts/client-compat/clients/dbt/test_dbt.py:170
↓ 1 callersFunctiontest_ddl_dml
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:203
↓ 1 callersFunctiontest_ddl_dml
CREATE TABLE, INSERT, SELECT, UPDATE, DELETE.
scripts/client-compat/clients/psycopg/test_psycopg.py:132
↓ 1 callersFunctiontest_dict_cursor
RealDictCursor — used by many Python apps for dict-style row access.
scripts/client-compat/clients/psycopg/test_psycopg.py:284
↓ 1 callersFunctiontest_executemany
executemany — batch inserts used by ORMs and ETL tools.
scripts/client-compat/clients/psycopg/test_psycopg.py:253
↓ 1 callersFunctiontest_harlequin_startup
Launch harlequin with a pseudo-terminal and verify it connects without crashing.
scripts/client-compat/clients/harlequin/test_harlequin.py:171
↓ 1 callersFunctiontest_inspection
SQLAlchemy inspect() — reflection of existing schema.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:291
↓ 1 callersFunctiontest_orm
SQLAlchemy ORM: mapped classes, Session, add, query, delete.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:220
↓ 1 callersFunctiontest_pgadmin_connect_sequence
Replay pgAdmin's connection sequence — the queries it fires when you register a server and expand the browser tree.
scripts/client-compat/clients/pgadmin/test_pgadmin.py:111
↓ 1 callersFunctiontest_prepared_statements
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:365
↓ 1 callersFunctiontest_raw_params
Parameterized queries via text() with :param style.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:318
↓ 1 callersFunctiontest_shared_queries
Run all queries from shared queries.yaml via text().
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:107
↓ 1 callersFunctiontest_shared_queries
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:169
↓ 1 callersFunctiontest_shared_queries
Run the shared query catalog via psycopg2.
scripts/client-compat/clients/dbt/test_dbt.py:97
↓ 1 callersFunctiontest_shared_queries
Run all queries from the shared queries.yaml file.
scripts/client-compat/clients/pgadmin/test_pgadmin.py:88
↓ 1 callersFunctiontest_shared_queries
Run all queries from the shared queries.yaml file.
scripts/client-compat/clients/harlequin/test_harlequin.py:144
↓ 1 callersFunctiontest_shared_queries
Run all queries from the shared queries.yaml file.
scripts/client-compat/clients/psycopg/test_psycopg.py:109
↓ 1 callersFunctiontimestampToTime
(val arrow.Timestamp, unit arrow.TimeUnit)
server/flightclient/flight_executor.go:812
↓ 1 callersFunctiontopLevelJSONKeys
topLevelJSONKeys returns the sorted top-level object keys of a JSON body, or nil if it isn't a JSON object. Used to audit WHICH warehouse sections a P
controlplane/admin/api.go:679
↓ 1 callersMethodtransformAlterTableStmt
transformAlterTableStmt handles ALTER TABLE statements for DuckLake compatibility. DuckDB only supports one ALTER command per statement, so multi-comm
transpiler/transform/ddl.go:365
↓ 1 callersMethodtransformCreateStmt
transformCreateStmt modifies a CREATE TABLE statement for DuckLake compatibility. Unenforceable constraints (PK/UNIQUE/CHECK/FK) and silently-NULL dat
transpiler/transform/ddl.go:149
↓ 1 callersMethodtransformDeleteStmt
(stmt *pg_query.DeleteStmt)
transpiler/transform/operators.go:301
↓ 1 callersFunctiontransformErrSQLState
transformErrSQLState extracts the SQLSTATE from a transform error.
transpiler/transform/ddl_test.go:214
↓ 1 callersMethodtransformFromClause
(node *pg_query.Node)
transpiler/transform/funcalias.go:97
↓ 1 callersMethodtransformFuncCall
(fc *pg_query.FuncCall)
transpiler/transform/functions.go:229
↓ 1 callersMethodtransformInsert
(insert *pg_query.InsertStmt)
transpiler/transform/onconflict.go:382
↓ 1 callersMethodtransformInsertStmt
(stmt *pg_query.InsertStmt)
transpiler/transform/operators.go:240
↓ 1 callersMethodtransformInsertToMerge
transformInsertToMerge converts INSERT ... ON CONFLICT to MERGE for DuckLake mode
transpiler/transform/onconflict.go:76
↓ 1 callersMethodtransformSQLValueFunction
transformSQLValueFunction rewrites the precision forms LOCALTIME(p), LOCALTIMESTAMP(p), CURRENT_TIME(p) and CURRENT_TIMESTAMP(p) to their bare same-fa
transpiler/transform/functions.go:210
↓ 1 callersMethodtransformSelectStmt
(stmt *pg_query.SelectStmt)
transpiler/transform/expandarray.go:51
↓ 1 callersMethodtransformUpdateStmt
(stmt *pg_query.UpdateStmt)
transpiler/transform/operators.go:262
↓ 1 callersFunctiontrimLeadingSQLComments
(sql string)
tests/perf/core/catalog.go:114
↓ 1 callersFunctiontruncateQuery
truncateQuery truncates a query for display
tests/integration/setup_test.go:401
↓ 1 callersMethodtryAcquireOrgConnectionLeaseOnce
(requestID string, limitLookup func(string) OrgResourceLimits)
controlplane/configstore/org_connections.go:119
↓ 1 callersMethodtxnCount
()
server/flightsqlingress/ingress.go:1298
↓ 1 callersFunctionunhexFuncCall
unhexFuncCall builds unhex('<hex>'), which DuckDB evaluates to a BLOB.
transpiler/transform/literals.go:83
↓ 1 callersFunctionupdateChip
(el: HTMLElement, pod: any, k: string)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:401
↓ 1 callersMethodupdateOrg
(c *gin.Context)
controlplane/admin/api.go:559
↓ 1 callersFunctionupdateReturningReadsModifiedColumn
updateReturningReadsModifiedColumn reports whether an UPDATE's RETURNING list references, by name, a column the UPDATE modifies (so the pre-update cap
transpiler/transform/writablecte.go:403
↓ 1 callersMethodupdateToSelect
updateToSelect converts UPDATE...FROM...WHERE...RETURNING to equivalent SELECT
transpiler/transform/writablecte.go:447
↓ 1 callersMethodupdateUser
(c *gin.Context)
controlplane/admin/api.go:1075
↓ 1 callersMethodupsertOperator
(c *gin.Context)
controlplane/admin/operators_api.go:46
↓ 1 callersFunctionuseAudit
(params: { actor?: string; org?: string })
controlplane/admin/ui/src/hooks/useApi.ts:451
↓ 1 callersFunctionuseCancelSession
()
controlplane/admin/ui/src/hooks/useApi.ts:332
↓ 1 callersFunctionuseClusterSummary
()
controlplane/admin/ui/src/hooks/useApi.ts:85
↓ 1 callersFunctionuseCreateUser
()
controlplane/admin/ui/src/hooks/useApi.ts:212
↓ 1 callersFunctionuseDeleteOperator
()
controlplane/admin/ui/src/hooks/useApi.ts:429
↓ 1 callersFunctionuseDeleteOrg
()
controlplane/admin/ui/src/hooks/useApi.ts:130
↓ 1 callersFunctionuseDeleteUser
()
controlplane/admin/ui/src/hooks/useApi.ts:229
↓ 1 callersFunctionuseDeleteUserSecret
()
controlplane/admin/ui/src/hooks/useApi.ts:278
↓ 1 callersFunctionuseDeprovisionWarehouse
(id: string)
controlplane/admin/ui/src/hooks/useApi.ts:157
↓ 1 callersFunctionuseDisableUser
()
controlplane/admin/ui/src/hooks/useApi.ts:254
↓ 1 callersFunctionuseDucklingDrift
()
controlplane/admin/ui/src/hooks/useApi.ts:175
↓ 1 callersFunctionuseEnableUser
()
controlplane/admin/ui/src/hooks/useApi.ts:262
↓ 1 callersFunctionuseErrors
(filters: ErrorFilters)
controlplane/admin/ui/src/hooks/useApi.ts:324
↓ 1 callersFunctionuseImpersonateQuery
()
controlplane/admin/ui/src/hooks/useApi.ts:442
↓ 1 callersFunctionuseMe
(opts?: Partial<UseQueryOptions<Me>>)
controlplane/admin/ui/src/hooks/useApi.ts:64
↓ 1 callersFunctionuseMetricsPanels
()
controlplane/admin/ui/src/hooks/useApi.ts:364
↓ 1 callersFunctionuseModels
()
controlplane/admin/ui/src/hooks/useApi.ts:389
↓ 1 callersFunctionuseOperators
()
controlplane/admin/ui/src/hooks/useApi.ts:409
↓ 1 callersFunctionuseOrg
(id: string | undefined)
controlplane/admin/ui/src/hooks/useApi.ts:112
↓ 1 callersFunctionuseQueries
()
controlplane/admin/ui/src/hooks/useApi.ts:290
↓ 1 callersFunctionuseQueryDetail
(workerId: number | null)
controlplane/admin/ui/src/hooks/useApi.ts:302
↓ 1 callersFunctionuseSessions
()
controlplane/admin/ui/src/hooks/useApi.ts:312
↓ 1 callersFunctionuseUpdateOrg
(id: string)
controlplane/admin/ui/src/hooks/useApi.ts:120
↓ 1 callersFunctionuseUpdateUser
()
controlplane/admin/ui/src/hooks/useApi.ts:220
↓ 1 callersFunctionuseUpdateWarehouse
(id: string)
controlplane/admin/ui/src/hooks/useApi.ts:146
↓ 1 callersFunctionuseUserSecrets
(org: string | undefined, username: string | undefined)
controlplane/admin/ui/src/hooks/useApi.ts:270
↓ 1 callersFunctionuseWarehouse
(id: string | undefined)
controlplane/admin/ui/src/hooks/useApi.ts:138
↓ 1 callersFunctionuseWorkers
()
controlplane/admin/ui/src/hooks/useApi.ts:345
↓ 1 callersMethodvalid
(now time.Time, idleTTL time.Duration)
server/querylog_kafka_writer.go:911
↓ 1 callersFunctionvalidateCatalog
(c Catalog)
tests/perf/core/catalog.go:30
↓ 1 callersFunctionvalidateDucklingOrgID
(orgID string)
controlplane/provisioning/api.go:60
↓ 1 callersFunctionvalidateHostnameAlias
validateHostnameAlias enforces that an alias is a valid single DNS label (RFC 1035): alphanumeric + hyphens, no leading/trailing hyphen, 1–63 characte
controlplane/admin/api.go:783
↓ 1 callersFunctionvalidateOrgDefaultWorkerProfile
validateOrgDefaultWorkerProfile rejects garbage default-worker-profile values at the API boundary so they can never enter the config store (the contro
controlplane/admin/api.go:748
↓ 1 callersFunctionvalidateQueryLogKafkaWriterConfig
(cfg QueryLogConfig)
server/querylog_kafka_writer.go:1015
↓ 1 callersFunctionvalidateReservedWorkerHealth
(result *healthCheckResult)
controlplane/k8s_pool_acquire.go:722
↓ 1 callersMethodvalidateSharedStartupConfigMap
(ctx context.Context)
controlplane/shared_startup_config.go:74
← previousnext →2,801–2,900 of 5,901, ranked by callers