Skip to main content

Ingestion & Connectors

Several changes on this page are breaking. Collate 2.1 removes the Delta Lake connector and requires sourceConfig.config.type on ingestion pipelines. It also moves the Microsoft Fabric authentication settings and no longer installs some libraries with the collate-ingestion package by default. The rest of this page covers behavioral changes for people who build their own ingestion environment, and the connectors added in Collate 2.1. All changes are compared against Collate 2.0.8.
The ingestion images are built on an Airflow-based ingestion base image, which stays on Python 3.12 (apache/airflow:3.3.2-python3.12). There is no Python version change in this upgrade.

Delta Lake Connector Removed

Breaking. Affects every DeltaLake database service and anyone who installs the deltalake, deltalake-storage, or deltalake-spark extras. The upgrade deletes the ingestion pipelines of those services. Deleted pipelines are only recoverable from a backup, so take a database backup before you upgrade.
The Delta Lake connector is removed. So are its connection schema (deltaLakeConnection.json) and its three pip extras. DeltaLake is no longer a valid database service type. The Collate 2.1 upgrade handles existing services automatically. It runs first in the data migration and does the following:
  • Changes each Delta Lake service and everything under it to the Custom Database service type. The catalog entries and their metadata are kept.
  • Replaces the service connection with an empty Custom Database connection. The old metastore and storage credentials are not carried over.
  • Deletes the ingestion pipelines of those services and removes their scheduled runs from the orchestrator. If the orchestrator cannot be reached during the upgrade, the schedule stays in place and you must remove it yourself.
  • Removes the Delta Lake test-connection definition.
After the upgrade, nothing refreshes that metadata, because no connector reads Delta Lake anymore. Delta Lake as a table format is unchanged. Tables that are stored as Delta files are still recognized by the Datalake, Trino, and StarRocks connectors.
Before upgrading, list your Delta Lake services and any ingestion YAML that uses type: DeltaLake. Move that metadata to another connector if you still need it refreshed. Examples are Datalake, Databricks, and Unity Catalog. Also remove deltalake extras from your image build files.

Microsoft Fabric Changes

Breaking. Affects API, software development kit (SDK), and YAML Ain’t Markup Language (YAML) configurations for Microsoft Fabric services.
The top-level clientSecret field is removed from the Microsoft Fabric connection. Authentication now goes in a new required authType setting, which is either Client Secret or Certificate. The upgrade moves the settings of stored services for you. The following settings are now required:
  • hostPort
  • clientId
  • tenantId
  • authType
Certificate authentication is new in Collate 2.1. A service principal can now sign in with a certificate instead of a client secret.
Update the Microsoft Fabric service definitions and ingestion YAML files you keep outside Collate so the client secret sits under authType.
Two connector behaviors also change:
  • The Microsoft Fabric Pipeline connector now ingests standalone Fabric items that have run history. These include notebooks and Spark job definitions. They also include Copy jobs and Dataflow (Gen2) items. Each one becomes a single-task pipeline named by its Fabric item ID. Items that have never run are skipped.
  • The Microsoft Fabric database connector reads query history for every Warehouse and Lakehouse that a run covers. In Collate 2.0.8, a blank database setting read only the default database for usage and lineage.
Behavioral. The first run after the upgrade can create new pipelines in your Fabric pipeline service. Review the service filters if you do not want standalone items in the catalog. Usage and lineage runs can also take longer when a workspace holds many databases.

Ingestion Pipelines Need a Source Configuration Type

Breaking. Affects scripts, Terraform, and custom clients that create or update ingestion pipelines through the API.
Creating or updating an ingestion pipeline now fails with 400 Bad Request and the message sourceConfig.config.type is required when sourceConfig.config.type is missing or blank. Examples of the value are DatabaseMetadata, Profiler, and DBT. Collate 2.0.8 did not check it. The upgrade fills in type on stored pipelines. A pipeline it cannot resolve is written to the server log and is not changed.
Add sourceConfig.config.type to every pipeline definition you send through the API. After the upgrade, check the server log for pipelines that could not be repaired and fix them by hand.

Tag and Classification Names Keep Their Source Casing

Behavioral. Affects database ingestion that brings in classifications and tags from the source.
Database ingestion now keeps the casing that the source uses for classification and tag names. Names that differ only by case, such as MY_CLASS.internal and My_Class.internal, stay as separate entries. Previously, ingestion could merge two separate source tags into one or attach a tag under the wrong name. Built-in system tags keep their standard names. If your source has tags that differ only by case, expect them to appear as separate tags after the next ingestion run. Review any tag-based policies, searches, or reports that assumed one merged tag.

SQL Server Integration Services Package Discovery

Behavioral. Affects SQL Server Integration Services (SSIS) pipeline services.
The SSIS connector now finds .dtsx packages anywhere in the package storage instead of only under {project}/{project}/. It skips the Visual Studio obj/ copies and reads each package once. Azure Blob Storage is a new package connection option, and it signs in with a service principal. A run now fails when the connector cannot list the package store or read the local package folder. In Collate 2.0.8, a listing error was not reported. The run ingested nothing, and stale-pipeline cleanup could then delete every SSIS pipeline. Unreadable files are recorded in the run status.
If an SSIS run starts failing after the upgrade, fix the permission or path that the error names. The run no longer hides it.

Oracle Uses python-oracledb

Behavioral. Affects custom ingestion images and virtual environments that install the oracle extra.
The oracle extra no longer installs cx_Oracle. It installs oracledb>=3.4.2,<4, and the cx_Oracle build steps are gone from the ingestion and operator images. Standard Oracle ingestion needs no change.
If you maintain custom code that does import cx_Oracle, or a requirements file that pins cx_Oracle or oracledb~=1.2, switch to oracledb and rebuild the image.

The collate-ingestion Package Installs Fewer Libraries by Default

Breaking. Affects anyone who installs collate-ingestion without extras. This includes custom images and virtual environments. The standard Collate ingestion image installs every extra and is not affected.
A base install of collate-ingestion is about 300 MB lighter. The libraries for two features moved into extras, so a base install no longer includes them. The following pins are also removed from the base requirements:
  • waii-sdk-py
  • numba
  • numexpr
  • certifi
No Collate code imported the first three. The all and slim extras still install everything else. Without the extra, these features fail the run with an install hint that names the missing extra. A dynamic assertion fails its test case instead of passing silently. The anomaly-detection extra also caps numpy below 2.1.
If you build your own image or environment, install collate-ingestion[pii-processor] for auto classification and collate-ingestion[anomaly-detection] for dynamic assertions. You can also install collate-ingestion[all].
Additive. The query-runner extra now installs the query runner core with its files option, which adds DuckDB. Collate uses it to analyze files that users upload to a chat conversation.

Elasticsearch Client Packages

Behavioral. Affects pinned and air-gapped installations.
The separate elasticsearch8 package is gone. Both the elasticsearch extra and the Airflow plugin now use one client, elasticsearch>=8.19.3,<9. If your requirements file pins elasticsearch8~=8.9.0, replace it before upgrading or the resolver may fail.

Python Framework Changes for Custom Connectors and SDK Users

Breaking. Affects authors of custom connectors and anyone who imports from the metadata package. Standard connectors and YAML workflows are not affected.
The following framework changes apply:
  • Tags use a registry.
    • Database sources no longer fill context.get().tags. The tag stages read and write through self.tags_registry.
    • TagRegistry is created as TagRegistry(cache_size=1000, *, metadata=...).
    • The attach method takes a TagDefinition in place of the separate classification and tag names and descriptions. Use the new define method to declare a tag.
    • is_known, ensure_known, and ScopeAlreadyClearedError are removed.
    • drain is now a generator, and labels_for drops tags that do not exist on the server.
    • In DatabaseServiceSource, clear_schema_tag_scope and clear_database_tag_scope now return an Iterable[Either], so an override must yield.
    • Tags whose names the server rejects are skipped and shown as warnings in the run status, not as failures.
  • Source state belongs to each source.
    • Topology run state is kept per source instance.
    • The class-level context and queue on a topology source, and the *_source_state sets on DatabaseServiceSource, are now per-instance wrappers (PerSourceState).
    • Custom code that reads or writes these attributes on the class sees different behavior.
  • run_pipeline returns a response object. OpenMetadata.run_pipeline returns PipelineServiceClientResponse instead of IngestionPipeline.
  • The lineage edge cache is per client. The module-level search_cache in the lineage mixin is removed. Each client keeps its own cache, so remove any import of search_cache.
  • Data quality validators changed.
    • is_unbounded is removed from validations/utils.py, and build_row_level_violations_sqa is removed from the between-bounds checker.
    • Custom test case validators that call them must use the new threshold helpers in the base validator.
  • Command-line interface (CLI) workflow commands accept a new optional --status-file <path>.
    • It writes the run result as JavaScript Object Notation (JSON), including for the Collate auto classification command.
    • The run_* functions in metadata.cli take a second argument, status_file, which defaults to None. Scripts that call them by position keep working.
Rebuild custom connectors against the Collate 2.1 collate-ingestion package and run them once against a test server before you roll them out.

Python Dependency Changes

Behavioral. Affects pinned and air-gapped installations that mirror packages.
The following table lists the changed pins. The new plugin extras are the following:
  • clickzetta
  • databend
  • nats
  • neo4j
  • data360
  • data360pipeline
  • tableaupipeline
The python-liquid package is now pinned to ~=2.3, because version 3 removed an API that the Looker connector uses to render sql_table_name. The ingestion package also raises the minimum versions of the following packages to fix security advisories. If you mirror packages or pin these in a requirements file, update the pins.

Ingestion Image Contents

Behavioral. Affects anyone who builds on top of the Collate ingestion image or the operator image.
The ingestion images change in the following ways:
  • The images no longer include the freetds-bin package or the PostgreSQL server packages. If a custom image or script calls psql or tsql from inside the ingestion container, install them in your own image layer.
  • The redshift-connector driver is removed from the image. The Collate Redshift connector does not use it. If your own directed acyclic graph (DAG) files or scripts import it, install it in your own image layer.
  • Build tools and development headers are removed after the install. A pip install of a package that must be compiled fails in a derived image. Use a prebuilt wheel or a multi-stage build.
The image keeps the following Airflow providers:
  • Simple Mail Transfer Protocol (SMTP)
  • Docker
  • Kubernetes
  • HTTP
  • Flask AppBuilder (FAB)
  • Standard
Additive. Auto classification language models are now opt-in at image build time. Pass the build argument AUTO_CLASSIFICATION_LANGUAGES (for example en,es), or run the new metadata install-classification-models --languages <list> command in your own environment. Models for languages you do not provision download at run time, so a runner without outbound access needs them in its image.

New Connectors

Additive. The following connectors are new in Collate 2.1.
Secure File Transfer Protocol (SFTP) authentication options (basic and key) are also new for the SFTP drive connector. Microsoft Fabric authentication also changes. For more information, see Microsoft Fabric Changes. The database migration also retires Delta Lake services. For more information, see Platform & Security.