Skip to content

Fix #25615 - Use system tables instead of API for lineage in UC - #25697

Merged
keshavmohta09 merged 1 commit into
mainfrom
issue-25615
Feb 6, 2026
Merged

keshavmohta09 merged 1 commit into
mainfrom
issue-25615

Conversation

@ulixius9

@ulixius9 ulixius9 commented Feb 4, 2026 •

Copy link
Copy Markdown
Member

Replace Unity Catalog Lineage REST API with System Table Queries

Fix #25615 - Use system tables instead of API for lineage in UC #25697

Summary

Replaces per-table REST API calls in Unity Catalog lineage extraction with bulk SQL queries against Databricks system tables. This eliminates the O(N×M) API call pattern (N tables × M columns) that caused significant performance degradation on large workspaces.

Before: Each table required a REST API call to /lineage-tracking/table-lineage for table lineage and /lineage-tracking/column-lineage/get for each column — extremely slow at scale.

After: Three bulk SQL queries at startup fetch all lineage data into memory, then lineage is resolved via in-memory lookups.

Changes

ingestion/src/metadata/ingestion/source/database/unitycatalog/lineage.py

  • Rewrote lineage source to use a bulk-cache-then-lookup pattern
  • Added _cache_lineage(): Bulk-fetches all table and column lineage from system.access.table_lineage and system.access.column_lineage into in-memory maps
  • Added _cache_external_locations(): Bulk-fetches all external table storage paths from system.information_schema.tables into an in-memory map
  • Added _process_table_lineage(): Resolves upstream tables from cached table_lineage_map and builds column lineage from column_lineage_map
  • Added _process_external_location_lineage(): Looks up external table storage paths from cache to create container-to-table lineage
  • Added _get_column_lineage_details(): Constructs column-level lineage from cached column mappings
  • Removed dependency on UnityCatalogClient — lineage source no longer makes any REST API calls
  • _iter() now calls _cache_lineage() and _cache_external_locations() once at the start, then iterates tables using cached data

ingestion/src/metadata/ingestion/source/database/unitycatalog/queries.py

  • Added UNITY_CATALOG_TABLE_LINEAGE: Queries system.access.table_lineage for all table-level lineage edges within a configurable lookback window (queryLogDuration)
  • Added UNITY_CATALOG_COLUMN_LINEAGE: Queries system.access.column_lineage for all column-level lineage mappings
  • Added UNITY_CATALOG_EXTERNAL_TABLES: Queries system.information_schema.tables for external table storage paths
  • Added UNITY_CATALOG_TEST_TABLE_LINEAGE and UNITY_CATALOG_TEST_COLUMN_LINEAGE: Lightweight test queries for connection validation

ingestion/src/metadata/ingestion/source/database/unitycatalog/client.py

  • Removed get_column_lineage() method and COLUMN_LINEAGE_PATH constant (no longer called)
  • get_table_lineage() and get_owner_info() retained for use by the metadata source

ingestion/src/metadata/ingestion/source/database/unitycatalog/connection.py

  • Added GetLineage test connection step that validates access to system.access.table_lineage and system.access.column_lineage

ingestion/tests/unit/topology/database/test_unity_catalog_lineage.py

  • Fully rewritten with pytest style (no TestCase inheritance)
  • 20 tests across 6 test classes covering:
    • TestCacheLineage: Table/column lineage caching and error handling
    • TestProcessTableLineage: Cache-based table lineage resolution, column lineage enrichment, malformed name handling, missing entity handling
    • TestColumnLineageDetails: Self-loop prevention, empty lineage handling
    • TestExternalLocationLineage: External location caching, cache-based container lineage, trailing slash handling, missing entries
    • TestContainerColumnLineage: Data model column FQN resolution, container column lineage construction
    • TestLineageTableStreamsModel: Pydantic model parsing for REST API responses

System Tables Used

System Table Purpose
system.access.table_lineage Table-to-table lineage edges
system.access.column_lineage Column-to-column lineage mappings
system.information_schema.tables External table storage paths (storage_path column)

Performance Impact

Metric Before (REST API) After (System Tables)
API calls per table 1 + N (per column) 0
SQL queries (total) 0 3 (one-time bulk)
Lineage resolution Network-bound per table In-memory lookup

Configuration

Uses existing queryLogDuration parameter (default: 1 day) from the lineage pipeline configuration to control the lookback window for system.access table queries.


def test_lineage_tables(engine: Engine):
with engine.connect() as conn:
conn.execute(UNITY_CATALOG_TEST_TABLE_LINEAGE).fetchone()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ **Bug:** Missing text() wrapper for raw SQL strings in connection test

The test_lineage_tables function executes raw SQL strings directly without wrapping them in SQLAlchemy's text() function:

conn.execute(UNITY_CATALOG_TEST_TABLE_LINEAGE).fetchone()
conn.execute(UNITY_CATALOG_TEST_COLUMN_LINEAGE).fetchone()

SQLAlchemy 2.x requires SQL strings to be wrapped in text() when passed to execute(). This will raise a TypeError or ArgumentError at runtime with newer SQLAlchemy versions.

Fix: Wrap the SQL strings in text():

from sqlalchemy import text
conn.execute(text(UNITY_CATALOG_TEST_TABLE_LINEAGE)).fetchone()
conn.execute(text(UNITY_CATALOG_TEST_COLUMN_LINEAGE)).fetchone()

Note: The lineage.py file correctly uses text() when executing queries (e.g., text(UNITY_CATALOG_TABLE_LINEAGE.format(...))), but this pattern wasn't applied here.

Was this helpful? React with 👍 / 👎

@gitar-bot

gitar-bot Bot commented Feb 4, 2026 •

Copy link
Copy Markdown
Code Review 👍 Approved with suggestions 2 resolved / 4 findings

Well-structured refactor replacing O(N×M) REST API calls with 3 bulk SQL queries. One minor issue remains with missing text() wrappers in connection test, and the "GetQueries" step name is still misleading.

⚠️ Bug: Missing text() wrapper for raw SQL strings in connection test

📄 ingestion/src/metadata/ingestion/source/database/unitycatalog/connection.py:194

The test_lineage_tables function executes raw SQL strings directly without wrapping them in SQLAlchemy's text() function:

conn.execute(UNITY_CATALOG_TEST_TABLE_LINEAGE).fetchone()
conn.execute(UNITY_CATALOG_TEST_COLUMN_LINEAGE).fetchone()

SQLAlchemy 2.x requires SQL strings to be wrapped in text() when passed to execute(). This will raise a TypeError or ArgumentError at runtime with newer SQLAlchemy versions.

Fix: Wrap the SQL strings in text():

from sqlalchemy import text
conn.execute(text(UNITY_CATALOG_TEST_TABLE_LINEAGE)).fetchone()
conn.execute(text(UNITY_CATALOG_TEST_COLUMN_LINEAGE)).fetchone()

Note: The lineage.py file correctly uses text() when executing queries (e.g., text(UNITY_CATALOG_TABLE_LINEAGE.format(...))), but this pattern wasn't applied here.

💡 Edge Case: Test step name "GetQueries" is misleading after behavior change

📄 ingestion/src/metadata/ingestion/source/database/unitycatalog/connection.py:192-195 📄 ingestion/src/metadata/ingestion/source/database/unitycatalog/connection.py:203

The test connection step named "GetQueries" was previously testing generic SQL query execution using UNITY_CATALOG_SQL_STATEMENT_TEST. It now tests lineage table access (system.access.table_lineage and system.access.column_lineage).

This change could cause confusion since:

  1. The step name "GetQueries" doesn't reflect the new behavior (testing lineage access)
  2. Users seeing a failed "GetQueries" step may not understand they need lineage permissions

Suggestion: Consider renaming this to "GetLineage" to match the PR description which mentions: "Added GetLineage test connection step that validates access to system.access.table_lineage and system.access.column_lineage"

This would improve discoverability and make error messages more actionable for users.

✅ 2 resolved
✅ Bug: Missing text() wrapper for EXTERNAL_TABLES query

📄 ingestion/src/metadata/ingestion/source/database/unitycatalog/lineage.py:170
The _cache_external_locations method executes the SQL query without using text() wrapper:

rows = conn.execute(text(UNITY_CATALOG_EXTERNAL_TABLES))

Wait, on closer inspection, text() IS being used here. Let me double-check the code...

Actually, looking at line 170 in the diff:

rows = conn.execute(text(UNITY_CATALOG_EXTERNAL_TABLES))

This is correct. I was mistaken - the text() wrapper is properly used for this query. Please disregard this finding.

  • ✅ SQL injection vulnerability in INTERVAL clause
Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@github-actions

github-actions Bot commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

🛡️ TRIVY SCAN RESULT 🛡️

Target: openmetadata-ingestion:trivy (debian 12.12)

Vulnerabilities (4)

Package Vulnerability ID Severity Installed Version Fixed Version
libpam-modules CVE-2025-6020 🚨 HIGH 1.5.2-6+deb12u1 1.5.2-6+deb12u2
libpam-modules-bin CVE-2025-6020 🚨 HIGH 1.5.2-6+deb12u1 1.5.2-6+deb12u2
libpam-runtime CVE-2025-6020 🚨 HIGH 1.5.2-6+deb12u1 1.5.2-6+deb12u2
libpam0g CVE-2025-6020 🚨 HIGH 1.5.2-6+deb12u1 1.5.2-6+deb12u2

🛡️ TRIVY SCAN RESULT 🛡️

Target: Java

Vulnerabilities (33)

Package Vulnerability ID Severity Installed Version Fixed Version
com.fasterxml.jackson.core:jackson-core CVE-2025-52999 🚨 HIGH 2.12.7 2.15.0
com.fasterxml.jackson.core:jackson-core CVE-2025-52999 🚨 HIGH 2.13.4 2.15.0
com.fasterxml.jackson.core:jackson-databind CVE-2022-42003 🚨 HIGH 2.12.7 2.12.7.1, 2.13.4.2
com.fasterxml.jackson.core:jackson-databind CVE-2022-42004 🚨 HIGH 2.12.7 2.12.7.1, 2.13.4
com.google.code.gson:gson CVE-2022-25647 🚨 HIGH 2.2.4 2.8.9
com.google.protobuf:protobuf-java CVE-2021-22569 🚨 HIGH 3.3.0 3.16.1, 3.18.2, 3.19.2
com.google.protobuf:protobuf-java CVE-2022-3509 🚨 HIGH 3.3.0 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2022-3510 🚨 HIGH 3.3.0 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2024-7254 🚨 HIGH 3.3.0 3.25.5, 4.27.5, 4.28.2
com.google.protobuf:protobuf-java CVE-2021-22569 🚨 HIGH 3.7.1 3.16.1, 3.18.2, 3.19.2
com.google.protobuf:protobuf-java CVE-2022-3509 🚨 HIGH 3.7.1 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2022-3510 🚨 HIGH 3.7.1 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2024-7254 🚨 HIGH 3.7.1 3.25.5, 4.27.5, 4.28.2
com.nimbusds:nimbus-jose-jwt CVE-2023-52428 🚨 HIGH 9.8.1 9.37.2
com.squareup.okhttp3:okhttp CVE-2021-0341 🚨 HIGH 3.12.12 4.9.2
commons-beanutils:commons-beanutils CVE-2025-48734 🚨 HIGH 1.9.4 1.11.0
commons-io:commons-io CVE-2024-47554 🚨 HIGH 2.8.0 2.14.0
dnsjava:dnsjava CVE-2024-25638 🚨 HIGH 2.1.7 3.6.0
io.netty:netty-codec-http2 CVE-2025-55163 🚨 HIGH 4.1.96.Final 4.2.4.Final, 4.1.124.Final
io.netty:netty-codec-http2 GHSA-xpw8-rcwv-8f8p 🚨 HIGH 4.1.96.Final 4.1.100.Final
io.netty:netty-handler CVE-2025-24970 🚨 HIGH 4.1.96.Final 4.1.118.Final
net.minidev:json-smart CVE-2021-31684 🚨 HIGH 1.3.2 1.3.3, 2.4.4
net.minidev:json-smart CVE-2023-1370 🚨 HIGH 1.3.2 2.4.9
org.apache.avro:avro CVE-2024-47561 🔥 CRITICAL 1.7.7 1.11.4
org.apache.avro:avro CVE-2023-39410 🚨 HIGH 1.7.7 1.11.3
org.apache.derby:derby CVE-2022-46337 🔥 CRITICAL 10.14.2.0 10.14.3, 10.15.2.1, 10.16.1.2, 10.17.1.0
org.apache.ivy:ivy CVE-2022-46751 🚨 HIGH 2.5.1 2.5.2
org.apache.mesos:mesos CVE-2018-1330 🚨 HIGH 1.4.3 1.6.0
org.apache.thrift:libthrift CVE-2019-0205 🚨 HIGH 0.12.0 0.13.0
org.apache.thrift:libthrift CVE-2020-13949 🚨 HIGH 0.12.0 0.14.0
org.apache.zookeeper:zookeeper CVE-2023-44981 🔥 CRITICAL 3.6.3 3.7.2, 3.8.3, 3.9.1
org.eclipse.jetty:jetty-server CVE-2024-13009 🚨 HIGH 9.4.56.v20240826 9.4.57.v20241219
org.lz4:lz4-java CVE-2025-12183 🚨 HIGH 1.8.0 1.8.1

🛡️ TRIVY SCAN RESULT 🛡️

Target: Node.js

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: Python

Vulnerabilities (20)

Package Vulnerability ID Severity Installed Version Fixed Version
Werkzeug CVE-2024-34069 🚨 HIGH 2.2.3 3.0.3
aiohttp CVE-2025-69223 🚨 HIGH 3.12.12 3.13.3
aiohttp CVE-2025-69223 🚨 HIGH 3.13.2 3.13.3
apache-airflow CVE-2025-68438 🚨 HIGH 3.1.5 3.1.6
apache-airflow CVE-2025-68675 🚨 HIGH 3.1.5 3.1.6
azure-core CVE-2026-21226 🚨 HIGH 1.37.0 1.38.0
jaraco.context CVE-2026-23949 🚨 HIGH 5.3.0 6.1.0
jaraco.context CVE-2026-23949 🚨 HIGH 5.3.0 6.1.0
jaraco.context CVE-2026-23949 🚨 HIGH 6.0.1 6.1.0
protobuf CVE-2026-0994 🚨 HIGH 4.25.8 6.33.5
pyasn1 CVE-2026-23490 🚨 HIGH 0.6.1 0.6.2
python-multipart CVE-2026-24486 🚨 HIGH 0.0.20 0.0.22
ray CVE-2025-62593 🔥 CRITICAL 2.47.1 2.52.0
starlette CVE-2025-62727 🚨 HIGH 0.48.0 0.49.1
urllib3 CVE-2025-66418 🚨 HIGH 1.26.20 2.6.0
urllib3 CVE-2025-66471 🚨 HIGH 1.26.20 2.6.0
urllib3 CVE-2026-21441 🚨 HIGH 1.26.20 2.6.3
wheel CVE-2026-24049 🚨 HIGH 0.45.1 0.46.2
wheel CVE-2026-24049 🚨 HIGH 0.45.1 0.46.2
wheel CVE-2026-24049 🚨 HIGH 0.45.1 0.46.2

🛡️ TRIVY SCAN RESULT 🛡️

Target: /etc/ssl/private/ssl-cert-snakeoil.key

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /home/airflow/openmetadata-airflow-apis/openmetadata_managed_apis.egg-info/PKG-INFO

No Vulnerabilities Found

@github-actions

github-actions Bot commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

🛡️ TRIVY SCAN RESULT 🛡️

Target: openmetadata-ingestion-base-slim:trivy (debian 12.13)

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: Java

Vulnerabilities (33)

Package Vulnerability ID Severity Installed Version Fixed Version
com.fasterxml.jackson.core:jackson-core CVE-2025-52999 🚨 HIGH 2.12.7 2.15.0
com.fasterxml.jackson.core:jackson-core CVE-2025-52999 🚨 HIGH 2.13.4 2.15.0
com.fasterxml.jackson.core:jackson-databind CVE-2022-42003 🚨 HIGH 2.12.7 2.12.7.1, 2.13.4.2
com.fasterxml.jackson.core:jackson-databind CVE-2022-42004 🚨 HIGH 2.12.7 2.12.7.1, 2.13.4
com.google.code.gson:gson CVE-2022-25647 🚨 HIGH 2.2.4 2.8.9
com.google.protobuf:protobuf-java CVE-2021-22569 🚨 HIGH 3.3.0 3.16.1, 3.18.2, 3.19.2
com.google.protobuf:protobuf-java CVE-2022-3509 🚨 HIGH 3.3.0 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2022-3510 🚨 HIGH 3.3.0 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2024-7254 🚨 HIGH 3.3.0 3.25.5, 4.27.5, 4.28.2
com.google.protobuf:protobuf-java CVE-2021-22569 🚨 HIGH 3.7.1 3.16.1, 3.18.2, 3.19.2
com.google.protobuf:protobuf-java CVE-2022-3509 🚨 HIGH 3.7.1 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2022-3510 🚨 HIGH 3.7.1 3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf:protobuf-java CVE-2024-7254 🚨 HIGH 3.7.1 3.25.5, 4.27.5, 4.28.2
com.nimbusds:nimbus-jose-jwt CVE-2023-52428 🚨 HIGH 9.8.1 9.37.2
com.squareup.okhttp3:okhttp CVE-2021-0341 🚨 HIGH 3.12.12 4.9.2
commons-beanutils:commons-beanutils CVE-2025-48734 🚨 HIGH 1.9.4 1.11.0
commons-io:commons-io CVE-2024-47554 🚨 HIGH 2.8.0 2.14.0
dnsjava:dnsjava CVE-2024-25638 🚨 HIGH 2.1.7 3.6.0
io.netty:netty-codec-http2 CVE-2025-55163 🚨 HIGH 4.1.96.Final 4.2.4.Final, 4.1.124.Final
io.netty:netty-codec-http2 GHSA-xpw8-rcwv-8f8p 🚨 HIGH 4.1.96.Final 4.1.100.Final
io.netty:netty-handler CVE-2025-24970 🚨 HIGH 4.1.96.Final 4.1.118.Final
net.minidev:json-smart CVE-2021-31684 🚨 HIGH 1.3.2 1.3.3, 2.4.4
net.minidev:json-smart CVE-2023-1370 🚨 HIGH 1.3.2 2.4.9
org.apache.avro:avro CVE-2024-47561 🔥 CRITICAL 1.7.7 1.11.4
org.apache.avro:avro CVE-2023-39410 🚨 HIGH 1.7.7 1.11.3
org.apache.derby:derby CVE-2022-46337 🔥 CRITICAL 10.14.2.0 10.14.3, 10.15.2.1, 10.16.1.2, 10.17.1.0
org.apache.ivy:ivy CVE-2022-46751 🚨 HIGH 2.5.1 2.5.2
org.apache.mesos:mesos CVE-2018-1330 🚨 HIGH 1.4.3 1.6.0
org.apache.thrift:libthrift CVE-2019-0205 🚨 HIGH 0.12.0 0.13.0
org.apache.thrift:libthrift CVE-2020-13949 🚨 HIGH 0.12.0 0.14.0
org.apache.zookeeper:zookeeper CVE-2023-44981 🔥 CRITICAL 3.6.3 3.7.2, 3.8.3, 3.9.1
org.eclipse.jetty:jetty-server CVE-2024-13009 🚨 HIGH 9.4.56.v20240826 9.4.57.v20241219
org.lz4:lz4-java CVE-2025-12183 🚨 HIGH 1.8.0 1.8.1

🛡️ TRIVY SCAN RESULT 🛡️

Target: Node.js

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: Python

Vulnerabilities (10)

Package Vulnerability ID Severity Installed Version Fixed Version
apache-airflow CVE-2025-68438 🚨 HIGH 3.1.5 3.1.6
apache-airflow CVE-2025-68675 🚨 HIGH 3.1.5 3.1.6
jaraco.context CVE-2026-23949 🚨 HIGH 5.3.0 6.1.0
jaraco.context CVE-2026-23949 🚨 HIGH 6.0.1 6.1.0
starlette CVE-2025-62727 🚨 HIGH 0.48.0 0.49.1
urllib3 CVE-2025-66418 🚨 HIGH 1.26.20 2.6.0
urllib3 CVE-2025-66471 🚨 HIGH 1.26.20 2.6.0
urllib3 CVE-2026-21441 🚨 HIGH 1.26.20 2.6.3
wheel CVE-2026-24049 🚨 HIGH 0.45.1 0.46.2
wheel CVE-2026-24049 🚨 HIGH 0.45.1 0.46.2

🛡️ TRIVY SCAN RESULT 🛡️

Target: /etc/ssl/private/ssl-cert-snakeoil.key

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/extended_sample_data.yaml

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/lineage.yaml

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/sample_data.json

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/sample_data.yaml

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/sample_data_aut.yaml

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/sample_usage.json

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/sample_usage.yaml

No Vulnerabilities Found

🛡️ TRIVY SCAN RESULT 🛡️

Target: /ingestion/pipelines/sample_usage_aut.yaml

No Vulnerabilities Found

@sonarqubecloud

sonarqubecloud Bot commented Feb 4, 2026

Copy link
Copy Markdown

@keshavmohta09
keshavmohta09 merged commit 33d320f into main Feb 6, 2026
31 checks passed
@keshavmohta09
keshavmohta09 deleted the issue-25615 branch February 6, 2026 09:42
mohityadav766 added a commit that referenced this pull request Feb 9, 2026
* use promote entity reindex in distributed

* Add Logs and finalize remaining entities

* fix nullpointer

* Fix Canonical Index Deletion

* Fix Test

* Optimize Reindexing

* Fix Default Recreate Handler

* Fix entity version history of dataProducts after removing inputPorts/ field (#25702)

* Fix: Use Downward API for pipelineRunId in standard K8s CronJobs (#25640)

When using the K8s pipeline client with useOMJobOperator=false, scheduled
pipelines (CronJobs) were failing because pipelineRunId was set to the
literal string "{{ omjob.uid }}" instead of a valid UUID.

This template syntax is designed for the OMJob operator to resolve at
runtime, but standard K8s CronJobs have no templating engine.

The fix uses the Kubernetes Downward API to inject the pod's own UID
(metadata.uid) as the pipelineRunId. Pod UIDs are valid UUIDv4 values
and unique per execution, making them suitable replacements.

Co-authored-by: Claude Opus 4.5 <[email protected]>

* Rename deny list recognizer (#25698)

* Rename deny list recognizer

* Update generated TypeScript types

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Fix/testsuite cross suite result consistency (#25587)

* refactor: replace testCaseResultSummary with lastResultTimestamp in ES index

* feat: add lean batch SQL queries for test suite result summaries

* fix: recompute related test suite results on pipeline completion

* test: update UI sort field and tests for lastResultTimestamp

* Revert MUITagSuggestion changes from PR #25588 (#25710)

* Initial plan

* Revert MUITagSuggestion changes from PR #25588

Co-authored-by: karanh37 <[email protected]>

* Revert test file changes from PR #25588

Co-authored-by: karanh37 <[email protected]>

* fix test

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: karanh37 <[email protected]>
Co-authored-by: karanh37 <[email protected]>

* Fix Elasticsearch/OpenSearch field explosion with custom properties (#25627)

* Flatten Custom Properties

* Fix UI Side

* Fix Reindex matching old index conflict with alias

* Hacky wacky

* Review comments

* Add tests for custom properties to check field don't exceed

* Change to nested

* Align tests

* Fix Column and DataModel and subassets customProperties

* Fix extension updates

* Fix Description Updates

* Temp fix from other PR

* Fix Test failures

* Fix Review comments

* Fix Tests for playwright

* Import export improvements (#25542)

* Batched Import

* Batched Import

* Batched Import

* Optimised Internal methods for adding relationships for import, fixed circular dependency, generated changeEvents (#25582)

* Fix tag clearing and circular dependency detection in batch CSV imports

  - **Tag clearing fix**: Add deleteTagsByTarget before applying new tags in batch imports to match single entity import behavior, ensuring empty CSV fields properly clear existing
   tags
  - **Circular dependency detection fix**: Pre-track entities in dryRunCreatedEntities before parent resolution to enable proper circular reference validation during CSV team
  imports
  - Resolves test failures in TeamResourceIT.test_importCsv_circularDependency_trueRun and tag-related import issues
  - Maintains batch import performance while restoring pre-batch-import validation contracts

* improve storeRelationshipsInternal internal methods - make them truly batched operations

* - Add storeEntities override to all repositories (57 repos)
-  Add batch lock check to HierarchicalLockManager
- Add batch cache write to EntityRepository
-  Fix createManyEntitiesForImport with batched operations
- Fix updateManyEntitiesForImport with batched operations
-  Add change event creation in flushPendingEntityOperations

---------

Co-authored-by: sonika-shah <[email protected]>

* have default implementation of storeEntities

* add batch relationship clearing while updating during import

* Fix column import failing for tables in same batch

 When importing CSV with batching, column rows failed to find their
  parent table because the table was queued but not yet persisted to DB.
  Added pendingEntityFQNs set to track entities in current batch. When
  processing columns, check if table is in this set - if so, add columns
  directly to the queued table object instead of creating a patch context.
  This ensures columns are persisted with the table in a single operation.

* fix UserResourceTest, TestCaseResourceIT

* Fix Circular Dependency Validation for GlossaryTerms

* Batch Insert ChangeEvents and Process Async

* fix: defer CSV result reporting until batch operations complete to ensure accuracy

* fix: ensure custom properties persist during batch CSV imports

* Fix rows processed count

* Fix: Moving of glossaryTerms to correctly detect update operation during import

* Increment version history

* fix TeamResourceTest

* Fix: Mutual Exclusivity Tag Validation during dry run, Deferring of failures

* Fix: Table Constraints Preservation on table import

* revert validateCsvString logic, needed for csv validation

* revert test changes

* Use dependency resolution to flush pending operations to find the parent

* fix search groping based on entityType in updateEntitiesBulk with tests

* Fetch original from db as cache takes some time to reload

* Test Cases

* Remove logs, fix TableResourceIT, Fix ChangeEvent Race Condition

---------

Co-authored-by: Ram Narayan Balaji <[email protected]>
Co-authored-by: sonika-shah <[email protected]>
Co-authored-by: Ram Narayan Balaji <[email protected]>
Co-authored-by: Karan Hotchandani <[email protected]>
Co-authored-by: karanh37 <[email protected]>

* fix: databricks view definition (#25700)

* Column Edit - Address feedback (#25669)

* Address Test feedback for columns

* Add Translations

* Fix count issue

* nit

* nit

* fix pagination control

* fix e2e test

---------

Co-authored-by: anuj-kumary <[email protected]>

* chore(ui): fix pagination tests (#25715)

* update table selectors

* modify selector

* feat(ui): Learning Resources page improvements and form updates (#25681)

* feat(ui): Learning Resources page improvements and form updates

* Improved footer component

* fix color code combination

* fix view more issue in card view

* Addressed card related feedback

* fix test

* fix playwright test

* nit

* nit

---------

Co-authored-by: Cursor <[email protected]>

* fix pagination space between layout (#25728)

* Fix #25615 - Use system tables instead of API for lineage in UC (#25697)

* WIP - chore(ci): update playwright workflow to run ingestion with dataAsset… (#24753)

* chore(ci): update playwright workflow to run ingestion with dataAssetRules

* limit setup to required steps

* rearrnage spec files

* update condition

* update workflow

* update runners

* update console

* update config

* update arrangements

* fix typo

* rearrange specs

* remove unwanted import

* fix tests

* fix tests issues

* fix comment

* fix failing tests

* fix advance search

* fix test arrangements

* fix failing tests

* feat(ui): Remove resources count badge and add icon in left panel (#25735)

* Remove resources count badge and add icon in left panel

* nit

* Remove important from CSS

* Flaky(UI): Glossary import export  (#25693)

* fixed glossary import export flakyness

* removed timeout

* Flaky(UI) : Bulk import (#25653)

* fixed flaky bulk import

* fixed flaky bulk import

* formatted code

* removed unncessary loader await

* removed timeout

* Flaky(UI): Customize Detail Page spec (#25650)

* fixed customize detail page

* fixed button not clicking issue

* removed unncessary timeout

* added test id

* MINOR: use stats tables for MySQL and PSQL profiler (#25724)

* feat(system): use stats tables for mysl and psql profiler

* fix: skip tests if fail

* fix(trino): shadowing of http_scheme argument (#25726)

* fix(trino): shadowing of http_scheme argument

* fix: import chain

* fix: remove mock trino library

* [Search] Upgrade Clients (#25719)

* Upgrade Clients

* Update clients in docker files

* Fix Tests

* Fix integration test

* Fix Review Comments

* Fix More review comments :-
  1. ElasticSearchClient.java - Added keep-alive timeout configuration
  2. OpenSearchClient.java - Added keep-alive timeout configuration
  3. OpenMetadataOperations.java - Added logging for caught exception
  4. SigV4Hc5RequestSigningInterceptor.java - Now throws exception instead of silently returning

* Fix More review comments :-
  1. ElasticSearchClient.java - Added keep-alive timeout configuration
  2. OpenSearchClient.java - Added keep-alive timeout configuration
  3. OpenMetadataOperations.java - Added logging for caught exception
  4. SigV4Hc5RequestSigningInterceptor.java - Now throws exception instead of silently returning

Co-authored-by: mohityadav766 <[email protected]>

* upgrade to 9.3.0 vs 3.4.0 server since earlier had bug

* fix version in pom

* Fix Review Comments

* FIX IAM OpenSearch FIx

---------

Co-authored-by: Gitar <[email protected]>
Co-authored-by: mohityadav766 <[email protected]>

* Fix Failing Test (#25745)

* Optimize Reindexing

* Fix Issue in Partition Worker

* Fix Entity Stats writing too much to db

---------

Co-authored-by: sonika-shah <[email protected]>
Co-authored-by: IceS2 <[email protected]>
Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: Eugenio <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrià Manero <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: karanh37 <[email protected]>
Co-authored-by: karanh37 <[email protected]>
Co-authored-by: Sriharsha Chintalapani <[email protected]>
Co-authored-by: Ram Narayan Balaji <[email protected]>
Co-authored-by: Ram Narayan Balaji <[email protected]>
Co-authored-by: Keshav Mohta <[email protected]>
Co-authored-by: anuj-kumary <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Mayur Singal <[email protected]>
Co-authored-by: Chirag Madlani <[email protected]>
Co-authored-by: Dhruv Parmar <[email protected]>
Co-authored-by: Teddy <[email protected]>
Co-authored-by: Gitar <[email protected]>
Co-authored-by: mohityadav766 <[email protected]>

This branch was previously deployed

1 inactive deployment
test — 79ced85e Deployed Feb 4, 2026 by ulixius9 via playwright-ci-postgresql (1, 6) #33016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lineage Agent Execution Time is High for Unity Catalog

2 participants