Source and destination integrations
Bruin connects pipeline assets to data systems through named connections. The connector layer covers warehouses, databases, files, object stores, message systems, and many SaaS APIs. It gives ingestion a common source-to-destination path while each integration keeps its own access and data rules. See data connectivity for the wider connection model, connection configuration for user-facing settings, and ingestion operators for asset execution.
Connector model
Named connection lifecycle
A named connection links pipeline configuration to a live connector. The connection manager reads the selected environment, creates the matching client or database handle, and keeps the live handle with its source details under the connection name. Query assets and ingestion can then use the same connection without sharing their transfer rules.
Each integration has a typed connection definition. The definition describes the endpoint and access method, marks secret values for safe handling, and can add settings such as a cloud region or warehouse. The manager loads these definitions in parallel and reports setup errors before the run uses the connection.
References: pkg/…/connections.go• L17-80 pkg/…/connection.go• L160-313 pkg/…/connection.go• L4145-4361
Ingestion URI bridge
Ingestion uses a URI as the common description of a source or destination. A connector that supports ingestion exposes a GetIngestrURI capability. The URI resolver looks up the named connection, checks that capability, and returns a URI with the connector’s scheme and access settings.
The ingestion operator resolves the source and destination, adds the selected source table and destination table, then passes the transfer to the ingestion engine. This keeps connection setup separate from transfer rules. It also lets one connection type serve more than one source name, such as Google Cloud credentials used for both BigQuery and Google Sheets.
This diagram shows the path from a configured name to a completed source-to-destination transfer.
flowchart LR
A[Pipeline asset] --> B[Connection name]
B --> C[Connection manager]
C --> D[Typed client or database handle]
D --> E[Source or destination URI]
E --> F[Ingestion operator]
F --> G[Ingestion engine]
G --> H[Destination table]
References: pkg/…/uri.go• L16-68 pkg/…/uri.go• L71-148 pkg/…/operator.go• L210-235 pkg/…/operator.go• L333-444
Ingestion runtime
The ingestion runtime turns the common URI contract into a repeatable transfer process. The current v1 engine is the default path, while local checkouts and legacy v0 releases use the Python package path. Streaming runs stay attached to their context so cancellation can stop the long-running process.
This version split lets connector support move forward without removing local development or older pipeline settings. A connector’s source and destination behavior still comes from its URI and operator rules rather than from the process used to start the engine.
References: pkg/…/uv.go• L41-69 pkg/…/uv.go• L259-266 pkg/…/uv.go• L552-625
Connection selection
An ingestion asset can name its source and destination connections directly. When the destination name is not explicit, the pipeline maps a known destination value to a connection type and uses the pipeline’s default connection. Some source names are public and need no configured connection; the current connectionless sources are Chess.com and Frankfurter.dev.
Automatic destination selection covers the main warehouse, database, and table-store targets. A connector can still be resolved by its explicit name when the asset type has no default mapping.
References: pkg/…/pipeline.go• L1021-1065 pkg/…/pipeline.go• L2529-2584 pkg/…/operator.go• L210-227 pkg/…/operator.go• L343-359
Query-only connections
Some connections are limited to query and discovery work. A read-only connection can validate SQL, read metadata, and inspect data without becoming an ingestion source or destination. This separates safe inspection from write access across supported warehouse and database connectors.
BigQuery read-only access uses a read-only service-account scope and a read path that does not submit a write job. It does not accept application default credentials, OAuth access tokens, or prebuilt credentials for that mode. PostgreSQL, MySQL, ClickHouse, DuckDB, MotherDuck, and Snowflake also reject ingestion when read-only access is active. PostgreSQL and Snowflake validate read-only SQL, while DuckDB enforces read-only access at the database session level.
References: pkg/…/config.go• L89-101 pkg/…/read_only.go• L12-61 pkg/…/db.go• L74-82 pkg/…/db.go• L74-79 pkg/…/db.go• L64-80 pkg/…/read_only.go• L18-36 pkg/…/config.go• L106-109 pkg/…/db.go• L216-220 pkg/…/config.go• L27-42
SQL query metadata
SQL connectors can attach run metadata to the query they send to a backend. The metadata identifies the asset, task type, pipeline, and optional user fields. The same metadata is available as structured query tags where the backend supports them, which helps operators trace work across pipeline and warehouse views.
References: pkg/…/utils.go• L17-95 pkg/…/utils.go• L97-143 pkg/…/operator.go• L130-148
Destination integration families
The destination side is centered on systems that can receive tables from ingestion or run SQL assets. The same connection packages can also act as sources when the integration supplies source-table behavior.
Warehouses and lakehouse systems
These connectors provide table-oriented destinations for analytical workloads. Lakehouse systems add a storage or catalog layer but follow the same named-connection and URI pattern. Their asset runners translate common materialization choices into the statement form required by each service, so a full refresh or incremental load keeps the same pipeline intent across SQL systems. An incremental predicate can further limit which existing rows a merge or delete-and-insert operation may change.
Shared ANSI SQL materialization rules add an optional incremental predicate to merge matches and to supported delete-and-insert deletes. The predicate is passed as SQL so each dialect can use its own syntax and the target/source aliases exposed by the materializer. Platforms that cannot apply the predicate to delete-and-insert reject the setting instead of ignoring it.
Snowflake assets can select a warehouse for a run and fall back to the connection default when that override cannot connect or pass a health check. Snowflake also retries safe transient failures and supports password, token, and private-key connection modes. Read-only Snowflake connections remain query-only. BigQuery supports query cost controls: it can estimate a query before execution and stop work when hard byte or cost limits are exceeded. Soft limits can apply to selected query paths, which gives query authors a chance to reduce scanned data before a run proceeds. Partition-aware BigQuery loads can restrict merge work to source partitions, but they require a valid partition key contract.
| Family | Supported integrations |
|---|---|
| Cloud warehouses | Amazon Athena; Google BigQuery; Snowflake; Amazon Redshift |
| Lakehouse and cloud SQL | Databricks; Microsoft Synapse; Microsoft Fabric; OneLake; Spark; Apache Iceberg |
| Distributed query and OLAP | Trino; Dremio; Sail; ClickHouse; Doris; StarRocks; Vertica |
| Local and hosted analytical stores | DuckDB; MotherDuck; Quack |
References: pkg/…/pipeline.go• L1045-1065 pkg/…/connections.go• L170-320 pkg/…/connections.go• L1321-1347 pkg/…/connections.go• L1807-1897 pkg/…/connection.go• L521-617 pkg/…/connection.go• L3911-4142 pkg/…/materialization.go• L18-37 pkg/…/materialization.go• L23-67 pkg/…/materialization.go• L18-37 pkg/…/materialization.go• L380-481 pkg/…/materializer.go• L22-52 pkg/…/table_options.go• L10-60 pkg/…/materialization.go• L28-143 pkg/…/materialization.go• L247-331 pkg/…/db.go• L492-575 pkg/…/config.go• L19-158 pkg/…/materialization.go• L13-172 pkg/…/operator.go• L131-228 pkg/…/db.go• L120-169 pkg/…/config.go• L13-20
BigQuery execution safeguards
BigQuery is both a warehouse connector and a query service. It supports service-account or application-default authentication for the normal connection path, read-only query access, table discovery, metadata updates, and query cost limits. BigQuery source reads can also select the Storage Read API or REST API through the read_api URI option. An empty option keeps the ingestion engine’s default choice.
Main asset queries in a Bruin Cloud run use a stable job identity derived from the run, asset, and SQL. If a retry finds that job still running, the connector waits for it instead of starting duplicate work. If an earlier job has finished, it starts a fresh job. A lost response during job creation is handled by attaching to the existing job named in BigQuery’s conflict response.
The operator also cancels a running server-side job when the asset context is canceled. This prevents an abandoned query from continuing to hold BigQuery resources after the local run stops.
References: pkg/…/config.go• L14-44 pkg/…/config.go• L115-175 pkg/…/config_test.go• L11-106 pkg/…/db.go• L238-260 pkg/…/db.go• L286-308 pkg/…/db.go• L530-615 pkg/…/job_attach.go• L20-44 pkg/…/job_attach.go• L56-89 pkg/…/read_only.go• L16-61
Databases and operational stores
These connectors cover relational, document, wide-column, time-series, search, and key-value systems. They support direct database work and can take part in ingestion when their URI scheme is supported by the ingestion engine. Database connectors also provide the discovery surface used to inspect databases, schemas, tables, and columns where the external system allows it. Materialization modes can prepare an existing target before a write when a connector supports that mode.
PostgreSQL, MySQL, and ClickHouse expose the same broad query and discovery role while preserving each system’s schema model. PostgreSQL supports transactional table changes, slowly changing dimension history, and Data Vault hub, link, and satellite tables. Its read-only path runs queries in a read-only transaction and blocks functions that could write through another session. MySQL can open the database connection when the first operation needs it and uses a read-only transaction for inspection. ClickHouse can apply connection-level settings, enforce server-side read-only access, and carry a cluster through its ingestion URI.
DuckDB and MotherDuck provide local or hosted analytical storage. DuckDB can also connect to Quack as a hosted service and use lakehouse catalogs in the same SQL session. During a pipeline run, connections can share database state while each SQL operation uses its own session. Query results preserve complex values such as lists, structs, and maps. Streaming reads release the session when the result closes. Read-only local and hosted connections remain available for inspection but cannot receive ingestion writes. Delete-and-insert loads can scope the delete with an incremental predicate before inserting the new batch.
DuckDB coordinates access with ingestion and scripts. File-backed databases release their local handle before another process opens the file. Concurrent runs share a normalized lock for the same database. A transaction conflict is reported as retryable for the failed transaction rather than replaying an arbitrary SQL batch. The normal build installs a pinned ADBC driver on demand. A Quack connection uses a separate DuckDB 2.0 or newer driver, while a build without DuckDB support returns a clear unsupported error.
| Family | Supported integrations |
|---|---|
| Relational databases | PostgreSQL; MySQL; Microsoft SQL Server; Oracle; SAP HANA; IBM DB2; SQLite |
| MySQL-compatible systems | Vitess; PlanetScale MySQL |
| Document and wide-column stores | MongoDB; MongoDB Atlas; Couchbase; Cassandra; CrateDB |
| Cloud and specialized stores | Google Cloud Spanner; InfluxDB; Elasticsearch; Amazon DynamoDB |
Vitess and PlanetScale keep distinct connection and ingestion schemes even though they use MySQL-compatible access for direct connectivity. Their separate schemes let change-data-capture use the matching platform path.
References: pkg/…/connections.go• L326-515 pkg/…/connections.go• L1607-1683 pkg/…/connections.go• L1769-1777 pkg/…/connection.go• L620-678 pkg/…/connection.go• L1179-1405 pkg/…/uri.go• L104-131 pkg/…/db.go• L41-59 pkg/…/db.go• L45-79 pkg/…/db.go• L444-454 pkg/…/db.go• L42-80 pkg/…/read_only.go• L32-71 pkg/…/materialization.go• L32-177 pkg/…/materialization.go• L357-750 pkg/…/db.go• L60-88 pkg/…/materialization.go• L96-155 pkg/…/materialization.go• L570-623 pkg/…/config.go• L27-122 pkg/…/driver.go• L34-75 pkg/…/db_no_duckdb.go• L15-50 pkg/…/ephemeral_db.go• L27-80 pkg/…/ephemeral_db.go• L116-243 pkg/…/lock.go• L99-210 pkg/…/materialization.go• L20-169
Object storage and file locations
File and object connectors let pipelines ingest data that is not already in a database. A path, bucket, document library, or local file becomes the source or destination location. These connectors are useful for seeds, raw files, and table formats that store data outside a database service.
| Family | Supported integrations |
|---|---|
| Cloud object storage | Amazon S3; Google Cloud Storage; Azure Blob Storage; Azure Data Lake Storage Gen2 |
| File transfer and local files | SFTP; CSV; HTTP file URLs |
| Document and lake storage | SharePoint; OneLake; Apache Iceberg |
S3 and GCS connections can represent a whole source or destination without a fixed bucket path. Their URI builders preserve credentials and optional layout settings for the ingestion engine. Azure Blob uses the same location model: a connection can target a container and path, or provide account-level access for a location supplied later by ingestion. SharePoint adds document-library access and file limits rather than database tables.
S3 key sensors can wait for an exact object or a wildcard match. Optional metadata filters check an object’s ETag, minimum size, or last-modified time before the sensor reports success. This lets a pipeline react to the right version of a file instead of only checking that a key exists.
References: pkg/…/connections.go• L385-390 pkg/…/connections.go• L1103-1115 pkg/…/connections.go• L1307-1360 pkg/…/connections.go• L1724-1758 pkg/…/sources.go• L451-457 pkg/…/sources.go• L668-670 pkg/…/sources.go• L1208-1218 pkg/…/config.go• L10-55 pkg/…/config.go• L8-52 pkg/…/metadata.go• L16-70 pkg/…/operator.go• L26-56 pkg/…/config.go• L9-56
Source integration catalog
The source catalog is broader than the destination catalog. It includes SaaS APIs and public data services that expose records, reports, events, or files for loading into a warehouse or lakehouse.
SaaS and business systems
The SaaS connectors cover work management, CRM, commerce, finance, support, developer tools, media, and customer engagement. They turn product resources into source tables so teams can combine operational data with warehouse data.
| Domain | Supported integrations |
|---|---|
| Work and project systems | Asana; Attio; ClickUp; JobTread; Jira; Linear; Monday.com; Notion; Smartsheet; Trello; Twenty |
| ERP and business systems | Odoo |
| CRM, support, identity, and people systems | G2; Gorgias; Hostaway; HubSpot; Indeed; Okta; Personio; Pipedrive; Salesforce; Sumble; Zendesk; Freshdesk |
| Commerce, billing, finance, and giving | Shopify; Square; Stripe; Paddle; Chargebee; Recurly; FastSpring; Fakturoid; Payrails; Primer; RevenueCat; QuickBooks; Wise; Solidgate; 2Checkout; FundraiseUp |
| Customer and product engagement | Adapty; Adjust; AppsFlyer; Amplitude; Braze; CleverTap; Customer.io; Intercom; Klaviyo; Mailchimp; Mixpanel; PostHog; SendGrid; PlusVibe AI |
| Forms, surveys, reviews, and feedback | SurveyMonkey; Typeform; Trustpilot; SatisMeter |
| Developer, media, and collaboration tools | GitHub; GitLab; Slack; Wistia; Zoom; Airtable; Google Sheets; SharePoint; Cursor; Granola |
| Other API services | Anthropic; Allium; Dune; Fireflies; Fluxx; Docebo; Bruin Cloud; ABRA Flexi; Deel; RIPEstat; Yahoo Finance; PhantomBuster |
BambooHR, Fakturoid, and Lumify use small source adapters that turn validated account settings into ingestion URIs. BambooHR supports either an API key or an OAuth token and can carry a company timezone for time-sheet boundaries. Fakturoid requires an OAuth client, account slug, and contact user agent. Lumify requires an API key and can narrow data by sport or league.
Odoo provides ERP and business application data through named source resources. Its connection converts a host and API key into an odoo ingestion URI, with optional database, user, transport, API version, and page-size settings. The connector supports automatic API choice plus explicit JSON-2 and legacy JSON-RPC modes. The source catalog includes common partner, product, sales, purchase, CRM, and accounting resources, while also allowing a technical Odoo model name for custom or other supported data.
Bruin Cloud is a first-party API source in this catalog. Its connection carries an API token through the bruin URI, and its source registry exposes pipeline and asset resources. The Cloud API also provides team-scoped access to projects, pipelines, runs, assets, and connection metadata, so the integration can represent platform state as source data.
Most SaaS sources expose a fixed set of resource names. Some use a parameter in the source name for a database, report, account, channel, or other resource selected by the asset.
References: pkg/…/sources.go• L39-80 pkg/…/sources.go• L101-181 pkg/…/sources.go• L190-279 pkg/…/sources.go• L370-480 pkg/…/sources.go• L896-1103 pkg/…/sources.go• L1337-1393 pkg/…/connections.go• L780-1101 pkg/…/connections.go• L1117-1305 pkg/…/connections.go• L1377-1517 pkg/…/connections.go• L1649-1721 pkg/…/connections.go• L1904-2245 pkg/…/manager.go• L193 pkg/…/connection.go• L4257-4272 pkg/…/config.go• L9-64 pkg/…/config.go• L10-61 pkg/…/config.go• L9-43 pkg/…/config.go• L14-90 pkg/…/api.go• L25-120 pkg/…/types.go• L8-112
Advertising and marketing sources
Advertising connectors expose campaign structure, delivery reports, audience data, and ad-level performance. Their report sources often use date or modification fields so a pipeline can refresh changing results without reloading all history.
| Integration group | Supported integrations |
|---|---|
| Mobile and app advertising | AppLovin; AppLovin MAX; Apple Ads; AppsFlyer; Adjust |
| Social and search advertising | Facebook Ads; Google Ads; LinkedIn Ads; Reddit Ads; Snapchat Ads; Sklik; TikTok Ads |
| Commerce and customer marketing | Pinterest; Klaviyo; Mailchimp; Braze; Customer.io |
The source registry records the expected key, incremental field, and load strategy for supported report tables. This gives the asset author a starting point for merge, append, replace, or delete-and-insert behavior without placing that policy in each pipeline.
References: pkg/…/sources.go• L82-99 pkg/…/sources.go• L140-156 pkg/…/sources.go• L331-347 pkg/…/sources.go• L564-572 pkg/…/sources.go• L903-906 pkg/…/sources.go• L1127-1139 pkg/…/sources.go• L1248-1259 pkg/…/connections.go• L818-868 pkg/…/connections.go• L1194-1276 pkg/…/config.go• L10-33
Messaging and event sources
Messaging connectors move event data from brokers and communication services into analytical tables. Broker sources use user-selected topics, queues, or streams. API sources expose message history and communication records as named resources.
| Type | Supported integrations |
|---|---|
| Event brokers and streams | Apache Kafka; RabbitMQ; Amazon Kinesis |
| Team and customer communication | Slack; Twilio; SendGrid |
Kafka, RabbitMQ, and Kinesis have user-defined source locations rather than a fixed table list. A streaming asset can keep consuming from a broker or from a change-data-capture source instead of ending after one batch.
References: pkg/…/connections.go• L953-981 pkg/…/connections.go• L1129-1135 pkg/…/connections.go• L1366-1375 pkg/…/connections.go• L2125-2154 pkg/…/sources.go• L860-867 pkg/…/sources.go• L1181-1187 pkg/…/operator.go• L597-615
Public and specialist data sources
Public and specialist connectors cover sports, exchange rates, prediction markets, blockchain data, and mobile or web analytics. They are useful for enrichment because they can supply data without a database connection on the customer side.
| Area | Supported integrations |
|---|---|
| Public and sports data | Chess.com; ESPN; API-Football; football-data.org; BallDontLie; Frankfurter.dev; Lumify; RIPEstat; Yahoo Finance |
| Blockchain and prediction data | Allium; Dune; Kalshi; Manifold; Polymarket |
| Web and product analytics | Google Analytics; Google Search Console; Socrata; Cursor; Cloudflare Radar |
| App and media reporting | Apple App Store; Wistia; Granola |
| Currency data | ExchangeRatesAPI |
ExchangeRatesAPI adds current and historical foreign-exchange rates. Its source URI requires an access key and can carry an optional base currency. Lumify provides sports intelligence data and can filter the source by sport or league.
Chess.com and Frankfurter.dev are special connectionless sources. Their canonical source names map directly to public URIs when no same-named configured connection exists. Other specialist sources use named credentials or source parameters.
References: pkg/…/sources.go• L101-138 pkg/…/sources.go• L292-347 pkg/…/sources.go• L555-647 pkg/…/sources.go• L666-689 pkg/…/sources.go• L1069-1087 pkg/…/sources.go• L1125-1186 pkg/…/pipeline.go• L2529-2534 pkg/…/config.go• L9-35 pkg/…/config.go• L9-43
Source table model
Source table registry
The source table registry is the catalog used by the editor and other discovery tools to show which resources a source supports. Each entry can describe a source name, a primary key, an incremental key, and a suggested incremental strategy. The registry is a capability guide rather than a copy of the external system’s full schema. It includes both fixed API resources and parameterized resources for accounts, reports, endpoints, files, sheets, or other user-selected locations.
An empty registry entry means that the source location is supplied by the user. This is the normal shape for database tables, object paths, file paths, search indices, and broker locations. Parameterized entries use placeholders for values such as an account, report dimensions, channel, sheet, or file path.
The registry is the single source of truth for source-table metadata used by discovery clients. GetSourceTables returns a sorted copy for one source, while GetAllSources returns the full source list in name order.
References: pkg/…/sources.go• L1-35 pkg/…/sources.go• L41-67 pkg/…/sources.go• L227-237 pkg/…/sources.go• L329-333 pkg/…/sources.go• L604-611 pkg/…/sources.go• L739-749 pkg/…/sources.go• L872-873 pkg/…/sources.go• L1023-1049 pkg/…/sources.go• L1484-1522
Incremental and change-data capture sources
Incremental loading uses a source field to limit the next read, then applies the registry or asset strategy at the destination. Change-data capture, or CDC, reads database change records rather than a normal table snapshot. The current CDC families are PostgreSQL, MySQL and MariaDB, Vitess, PlanetScale, MongoDB, and Microsoft SQL Server.
CDC changes the source URI to the matching capture scheme and defaults the destination action to merge. SQL Server supports both log-based CDC and Change Tracking. Broker sources can instead run as continuous streams when the asset enables streaming.
This diagram shows the difference between a normal batch read and a continuous change or event read.
flowchart TD
A[Source connector] --> B{Read mode}
B -->|Batch| C[Read selected source table]
B -->|Incremental| D[Read rows after source key]
B -->|CDC or stream| E[Read changes or events continuously]
C --> F[Load destination table]
D --> G[Apply configured load strategy]
E --> H[Merge changes or append events]
References: pkg/…/uri.go• L104-148 pkg/…/operator.go• L237-331 pkg/…/operator.go• L515-573 pkg/…/operator.go• L597-615 pkg/…/sources.go• L21-27
Change checklist
When these files or sections are changed, remember to consider these:
- A new connector needs one consistent name across its config type, connection-manager registration, URI scheme, and any pipeline destination mapping.
- A source-table change must keep the resource name, primary key, incremental key, and load strategy aligned with the source behavior. The registry also feeds source discovery in the editor.
- A connector that shares a direct client with another integration must still expose the correct ingestion scheme when the external systems need different source or CDC behavior.
- A new stream or CDC mode must update both URI conversion and the operator’s stream or merge rules. A URI-only change can leave the asset in the wrong run mode.
- New credentials must use the connection field’s secret or secret-file classification so connection display and serialization do not expose them.
- Snowflake authentication changes must keep direct database access and ingestion URI generation aligned across password, token, and private-key modes.
- Azure Blob changes must preserve the
azURI contract, including account authentication, optional container and path locations, and layout settings. - Changes to an object-store URI must preserve empty-location handling, path layout, and the credential form expected by the ingestion engine.
- Changes to S3 sensor filters must keep wildcard matching, object metadata lookup, and timeout behavior aligned so a matching key does not bypass the requested metadata checks.
- Changes to read-only connector settings must preserve both query access and the rule that the connection cannot become an ingestion source or destination.
- BigQuery authentication changes must keep read-only execution separate from normal query credentials. Query cost checks must still run before execution.
- BigQuery source read API changes must keep
read_apivalidation and URI encoding aligned with the ingestion engine’s acceptedstorageandrestvalues. - BigQuery job identity changes must preserve stable IDs for retries, fresh IDs after a completed earlier job, and attachment after a lost job-creation response.
- BigQuery cancellation changes must keep a canceled run from leaving its server-side job active.
- BigQuery partition-filter changes must keep partition expressions, incremental keys, merge safety, and table options aligned.
- Changes to the shared incremental-predicate builder must preserve target aliases and each dialect’s limits. Redshift cannot use this predicate form for delete-and-insert or merge.
- Changes to query annotation fields must keep the SQL comment payload and backend query tags aligned.
- Changes to the Bruin Cloud source must keep the
bruinURI, API token handling, team scope, andpipelinesandassetssource names aligned. - Changes to the Odoo connector must keep its
odooURI options, supported API modes, required legacy JSON-RPC fields, and source-table names aligned. - Changes to the ingestion engine version path must preserve the default v1 release, the local or legacy package path, and managed cancellation for streaming runs.
- DuckDB connection reuse changes must keep file locks, script handoffs, lakehouse attachments, driver selection, and run cleanup coordinated.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A named connection does not implement the ingestion URI capability | The ingestion asset cannot use it as a source or destination | Resolve the connection through the URI bridge and add the connector’s ingestion scheme before selecting it |
| A read-only connection is selected for ingestion | URI resolution rejects the connection or the transfer cannot write | Use a write-capable connection for ingestion and keep read-only connections for query and discovery work |
| Required credentials are absent or invalid | Connection setup returns an error and the named connector is not available to the run | Use the connection type’s supported credential mode |
| A Snowflake connection lacks its account or a valid authentication set | The connection cannot be used for query or ingestion work | Provide an account and use password plus region, a username plus private key, or a token |
| An Azure Blob path is set without a container | URI creation fails before the object location is read or written | Set a container when using path_to_file, or leave both location fields empty for a connection-level URI |
| An Odoo host or API key is missing | The Odoo connection cannot create its ingestion URI | Set a host without a URL scheme and provide the API key |
| Odoo JSON-RPC is selected without a database and username | URI creation fails before the source is read | Provide both fields for the legacy JSON-RPC API, or use automatic or JSON-2 mode |
| A source resource is missing from the registry | Source discovery cannot show its tables or metadata | Add the source entry or use a user-defined path entry when the external resource is intentionally free-form |
| A destination value has no pipeline mapping and no explicit connection | The asset cannot infer its destination connection | Set the asset connection or destination connection name explicitly |
| CDC is enabled for a source without a CDC scheme | URI conversion fails before ingestion starts | Use a supported CDC family and its matching source settings |
| A CDC asset uses a load strategy other than merge | The operator rejects the asset | Use merge for CDC destinations |
| An incremental predicate is used with unsupported delete-and-insert materialization | The setting is rejected instead of being silently ignored | Use a supported strategy or remove the predicate |
| An S3 sensor matches a key but not its requested metadata | The sensor keeps waiting or reports no result | Treat ETag, size, and last-modified checks as part of the match |
| A BigQuery query exceeds a configured hard or enforced soft limit | The query is not executed | Use partition or date filters and reduce the selected data before retrying |
A BigQuery source uses an unsupported read_api value | URI creation fails before ingestion starts | Use storage or rest, or leave the option empty for the default |
| A retry starts a second BigQuery job after the first job was created | The same asset can run duplicate work | Keep run, asset, and SQL identity stable and attach to an existing job on conflict |
| A BigQuery run is canceled while its job is still active | The server-side query can continue after the local run stops | Send the bounded server-side cancel request using a fresh context |
| A partition-scoped BigQuery merge has an invalid partition expression or a mutable partition key | Materialization fails or can duplicate a target row | Use a supported date or time partition expression and make the partition key part of the match or immutable |
| Query annotations contain invalid JSON | SQL execution does not start because the metadata cannot be built | Use valid JSON or the supported default annotation mode |
| The selected ingestion release cannot be installed or does not support the connector | The transfer fails before the source or destination is processed | Use the default supported v1 release, or select a compatible local or legacy engine only when the connector supports it |
Key files
| File | Why to read it |
|---|---|
| pkg/…/connections.go | Defines the named connection shapes, credential choices, and integration-specific endpoint settings. |
| pkg/…/connection.go | Shows how configured connection types become live clients and how the manager exposes them by name. |
| pkg/…/uri.go | Defines the common source and destination URI contract and the CDC scheme rules. |
| pkg/…/operator.go | Connects source and destination names to an ingestion run and applies batch, incremental, CDC, and streaming behavior. |
| pkg/…/sources.go | Provides the source capability catalog and the table metadata used by discovery and incremental loads. |
| pkg/…/pipeline.go | Defines destination inference and the small set of public connectionless sources. |
| pkg/…/uv.go | Shows how the ingestion runtime selects the current release, supports local or legacy execution, and manages streaming runs. |
| pkg/…/materialization.go | Holds shared merge, delete-and-insert, and truncate-and-insert rules used by SQL destinations. |
| pkg/…/utils.go | Shows how SQL query metadata becomes both a SQL comment and structured query tags. |
| pkg/…/materialization.go | Shows how Athena maps table strategies to Iceberg table operations in object storage. |
| pkg/…/config.go, pkg/…/read_only.go, and pkg/…/db.go | Illustrate BigQuery credential modes, source read API selection, read-only queries, cost checks, job control, discovery, and metadata access. |
| pkg/…/job_attach.go | Explains how BigQuery retries attach to existing jobs and how run-scoped jobs avoid duplicate work. |
| pkg/…/materialization.go and pkg/…/operator.go | Show BigQuery table strategies, partition-aware loads, Iceberg checks, query annotations, and asset execution order. |
| pkg/…/db.go, pkg/…/read_only.go, and pkg/…/materialization.go | Illustrate database discovery, read-only access, common materialization, and Data Vault behavior. |
| pkg/…/config.go and pkg/…/db.go | Show MySQL URI forms, lazy connection setup, discovery, and read-only query access. |
| pkg/…/db.go | Shows SQL Server query, discovery, table-name, and ingestion behavior. |
| pkg/…/config.go, pkg/…/db.go, and pkg/…/materialization.go | Show ClickHouse endpoint settings, query behavior, discovery, materialization strategies, and cluster support. |
| pkg/…/config.go, pkg/…/materialization.go, pkg/…/driver.go, and pkg/…/ephemeral_db.go | Explain local, hosted, and lakehouse connection forms, materialization, driver selection, session isolation, and external-process handoff. |
| pkg/…/config.go, pkg/…/db.go, pkg/…/materialization.go, and pkg/…/operator.go | Show Snowflake authentication and ingestion URI forms, query and discovery behavior, retry and read-only rules, warehouse selection, Iceberg handling, and table history materialization. |
| pkg/…/metadata.go and pkg/…/operator.go | Illustrate S3 object sensors, wildcard matching, metadata filters, endpoint choices, and wait behavior. |
| pkg/…/config.go and pkg/…/config.go | Illustrate how object-storage settings become ingestion URIs, including credentials and path layout. |
| pkg/…/config.go | Shows how Azure Blob authentication, container and path locations, and layout settings become an az ingestion URI. |
| pkg/…/config.go, pkg/…/config.go, pkg/…/config.go, and pkg/…/config.go | Show how SaaS and specialist source settings become validated ingestion URIs. |
| pkg/…/config.go | Shows how Odoo connection settings become a validated ingestion URI and how API and paging choices affect source access. |
| pkg/…/api.go and pkg/…/types.go | Illustrate the Bruin Cloud source and control-plane contract for teams, pipelines, assets, runs, and connection metadata. |