Ingestion & Connectors
Several changes on this page are breaking, and the largest is that the Delta Lake connector is removed. The rest of this page covers behavioral changes for people who build their own ingestion environment, and the connectors added in 2.1.The ingestion image is still built on Python 3.12 (
apache/airflow:3.3.2-python3.12), the same
Python version as 2.0. There is no Python version change in this upgrade.Delta Lake Connector Removed
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 2.1 upgrade handles existing services automatically. It runs first in the data migration. The upgrade does the following:
- It changes each Delta Lake service and its databases, schemas, tables, and stored procedures to the Custom Database service type. The catalog entries and their metadata are kept.
- It replaces the service connection with an empty Custom Database connection. The old metastore and storage credentials are not carried over.
- It 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 is left in place and you must remove it yourself.
- It removes the Delta Lake test-connection definition.
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.Oracle Uses python-oracledb
Behavioral. Affects custom ingestion images and virtual environments that install the
oracle
extra.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.Tag and Classification Names Keep Their Source Casing
Behavioral. Affects database ingestion that brings in classifications and tags from the source.
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 OpenMetadata 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.
Ingestion Pipelines Need a Source Configuration Type
Creating or updating an ingestion pipeline now fails with400 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. OpenMetadata 2.0 did not check it.
The upgrade fills in type on stored pipelines. A pipeline it cannot resolve is written to the server
log and left as it is.
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.Microsoft Fabric Authentication Settings Moved
The top-levelclientSecret field is removed from the Microsoft Fabric connection. Authentication now
goes in a new required authType setting, which is either Client Secret or Certificate. hostPort,
clientId, tenantId, and authType are required. The upgrade moves the settings of stored services
for you.
Update the Microsoft Fabric service definitions and ingestion YAML files you keep outside OpenMetadata so the
client secret sits under
authType.Elasticsearch Client Packages
Behavioral. Affects pinned and air-gapped installations.
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
- Tags use a registry:
- Database sources no longer fill
context.get().tags. The tag stages read and write throughself.tags_registry. TagRegistryis created asTagRegistry(cache_size=1000, *, metadata=...).attachtakes aTagDefinitionin place of the separate classification and tag names and descriptions.- Use the new
definemethod to declare a tag. is_known,ensure_known, andScopeAlreadyClearedErrorare removed.drainis now a generator.labels_fordrops tags that do not exist on the server.- In
DatabaseServiceSource,clear_schema_tag_scopeandclear_database_tag_scopenow return anIterable[Either], so an override mustyield. - Tags whose names the server rejects are skipped and shown as warnings in the run status, not as failures.
- Database sources no longer fill
- Source state belongs to each source. Topology run state is kept per source instance. The class-level
contextandqueueon a topology source, and the*_source_statesets onDatabaseServiceSource, are now per-instance wrappers (PerSourceState). Custom code that reads or writes these attributes on the class sees different behavior. run_pipelinereturns a response object.OpenMetadata.run_pipelinereturnsPipelineServiceClientResponseinstead ofIngestionPipeline.- The lineage edge cache is per client. The module-level
search_cachein the lineage mixin is removed. Each client keeps its own cache, so remove any import ofsearch_cache. - Data quality validators:
is_unboundedis removed fromvalidations/utils.py, andbuild_row_level_violations_sqais 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): the workflow commands accept a new optional
--status-file <path>that writes the run result as JSON. Therun_*functions inmetadata.clitake a second argument,status_file, which defaults toNone. Scripts that call them by position keep working.
Rebuild custom connectors against the 2.1
openmetadata-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 new plugin extras are
clickzetta, databend, nats, neo4j, data360, data360pipeline, and
tableaupipeline.
python-liquid 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:
oauthlib (>=4.0.1), tornado (>=6.6.1), dnspython (>=2.9.2), and filelock (>=4.2.1). The last
three apply to Python 3.11 and later. 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
openmetadata/ingestion or the operator image.- The ingestion image no longer ships the
freetds-binandpostgresql/postgresql-contribpackages. If a custom image or script callspsqlortsqlfrom inside the ingestion container, install them in your own image layer. - The Airflow Simple Mail Transfer Protocol (SMTP) provider is now kept in the image. So are the Docker, Kubernetes, HTTP, Flask AppBuilder (FAB), and standard providers.
- The
redshift-connectordriver is removed from the image. The OpenMetadata Redshift connector does not use it. If your own DAGs or scripts import it, install it in your own image layer. - Build tools and development headers (
build-essential,gcc,libpq-dev,default-libmysqlclient-dev) are removed after the install. Apip installof a package that must be compiled fails in a derived image. Use a prebuilt wheel or a multi-stage build.
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.New Connectors
Additive.
Other connector additions include SSH File Transfer Protocol (SFTP) authentication options (basic and key) for the SFTP drive connector.
Microsoft Fabric authentication also changes. For more information, see
Microsoft Fabric Authentication Settings Moved.
Rebuild and re-test custom connectors and custom images against the 2.1 ingestion package before
upgrading production agents.