Repository navigation
Fixes 16640: Add stable BigQuery shard families - #36867
Conversation
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
|
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
1 similar comment
|
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
There was a problem hiding this comment.
🟡 Changes recommended
The custom metric footer can report the wrong physical table because it inherits profile-level provenance even when the metric’s SQL targets a different shard.
1 open issue
What changed in this PR
Adds stable logical BigQuery shard families to OpenMetadata, preserving catalog identity and result history while physical representatives roll over.
Changes:
- Adds sharding and execution-source schemas, API wiring, RDF projection, and lifecycle merging.
- Updates ingestion resolution, usage, profiling, sampling, and supported quality checks.
- Adds UI provenance displays, grouping controls, translations, and regression tests.
Identified one defect: custom-SQL metric tooltips incorrectly inherit the parent profile’s physical provenance. UI type/runtime checks, browser acceptance, and live BigQuery execution remain unverified.
| File | Description |
|---|---|
| openmetadata-ui/src/main/resources/ui/src/utils/TableTabsUtils.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/utils/TableClassBase.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/utils/TableClassBase.test.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/utils/IngestionWorkflowUtils.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/utils/GenericWidget/GenericWidgetUtils.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/utils/DataQuality/CustomDQTooltip.component.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/rest/tableAPI.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/rest/searchAPI.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/Sharding/TableSharding.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/pages/AddServicePage/AddServicePage.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-tw.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-pt.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/locale/languages/ar-sa.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/jsons/ingestionSchemas/workflow.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/jsons/ingestionSchemas/databaseServiceMetadataPipeline.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/jsons/ingestionSchemas/bigQueryShardedTables.json | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/interface/search.interface.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/type/tableSharding.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/type/tableExecutionSource.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/type/personaContext.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/type/entityProfile.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/type/aiContext.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/tests/testCase.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/databaseServiceMetadataPipeline.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/bigQueryShardedTables.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/serviceProgressEvent.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/testCaseResult.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/data/worksheet.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/data/page.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/data/file.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dataContract.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboardDataModel.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/data/container.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/response/queryRunnerResponse.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/attachments/asset.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestCaseResult.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/mcp/mcpSearchResponse.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createWorksheet.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTableProfile.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTable.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createFile.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createEntityProfile.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDataContract.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboardDataModel.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/createContainer.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/bulkUpdateTable.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/bulkUpdateContainer.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/generated/api/data/bulkCreateTable.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/enums/CustomizeDetailPage.enum.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/constants/ServiceType.constant.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Visualisations/Chart/DataDistributionHistogram.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Visualisations/Chart/DataDistributionHistogram.component.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Visualisations/Chart/Chart.interface.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Visualisations/Chart/CardinalityDistributionChart.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Visualisations/Chart/CardinalityDistributionChart.component.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Settings/Services/Ingestion/IngestionWorkflowForm/IngestionWorkflowForm.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Settings/Services/AddIngestion/AddIngestion.component.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/observability/profiler/ExecutionSource/ProfileExecutionSource.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/observability/profiler/ExecutionSource/ExecutionSource.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/governance/ontology/OntologyIriInput/OntologyIriInput.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/ExploreV1/ExploreV1.component.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Explore/ExplorePage.interface.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/SampleDataTable/SampleDataTable.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/SampleDataTable/SampleDataTable.component.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/SampleDataTable/SampleData.interface.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/Profiler/TableProfiler/TableProfilerChart/TableProfilerChart.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/Profiler/TableProfiler/CustomMetricGraphs/CustomMetricGraphs.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/Profiler/TableProfiler/CustomMetricGraphs/CustomMetricGraphs.interface.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/Profiler/TableProfiler/CustomMetricGraphs/CustomMetricGraphs.component.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/Profiler/ProfilerDetailsCard/ProfilerDetailsCard.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/Profiler/ProfilerDetailsCard/ProfilerDetailsCard.test.tsx | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/src/components/Database/Profiler/ProfilerDashboard/profilerDashboard.interface.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/playwright/utils/observabilityAlert.ts | Updated as part of this pull request. |
| openmetadata-ui/src/main/resources/ui/playwright/utils/notificationAlert.ts | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/rdf/ontology/openmetadata.ttl | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/json/schema/type/tableSharding.json | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/json/schema/type/tableExecutionSource.json | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/json/schema/tests/basic.json | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/json/schema/metadataIngestion/databaseServiceMetadataPipeline.json | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/json/schema/metadataIngestion/bigQueryShardedTables.json | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/json/schema/entity/data/table.json | Updated as part of this pull request. |
| openmetadata-spec/src/main/resources/json/schema/api/data/createTable.json | Updated as part of this pull request. |
| openmetadata-service/src/main/java/org/openmetadata/service/resources/databases/TableResource.java | Updated as part of this pull request. |
| openmetadata-service/src/main/java/org/openmetadata/service/resources/databases/TableMapper.java | Updated as part of this pull request. |
| openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/TableRepository.java | Updated as part of this pull request. |
| openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java | Updated as part of this pull request. |
| openmetadata-integration-tests/src/test/java/org/openmetadata/it/tests/TestCaseResourceIT.java | Updated as part of this pull request. |
| openmetadata-integration-tests/src/test/java/org/openmetadata/it/tests/LifeCycleMergeIT.java | Updated as part of this pull request. |
| openmetadata-integration-tests/src/test/java/org/openmetadata/it/tests/BaseEntityIT.java | Updated as part of this pull request. |
| ingestion/tests/unit/topology/pipeline/test_openlineage.py | Updated as part of this pull request. |
| ingestion/tests/unit/topology/database/test_bigquery.py | Updated as part of this pull request. |
| ingestion/tests/unit/topology/dashboard/test_looker.py | Updated as part of this pull request. |
| ingestion/tests/unit/test_importer.py | Updated as part of this pull request. |
| ingestion/tests/unit/observability/data_quality/validations/test_evaluation_scope.py | Updated as part of this pull request. |
| ingestion/tests/unit/lineage/test_cross_database_lineage_sql.py | Updated as part of this pull request. |
| ingestion/tests/unit/bulksink/test_metadata_usage.py | Updated as part of this pull request. |
| ingestion/tests/cli_e2e_v2/meta/test_bigquery_cases.py | Updated as part of this pull request. |
| ingestion/tests/cli_e2e_v2/bigquery/inventory.py | Updated as part of this pull request. |
| ingestion/stubs/google/cloud/bigquery/__init__.pyi | Updated as part of this pull request. |
| ingestion/src/metadata/workflow/usage.py | Updated as part of this pull request. |
| ingestion/src/metadata/utils/lru_cache.py | Updated as part of this pull request. |
| ingestion/src/metadata/utils/importer.py | Updated as part of this pull request. |
| ingestion/src/metadata/sampler/sqlalchemy/bigquery/sampler.py | Updated as part of this pull request. |
| ingestion/src/metadata/profiler/processor/core.py | Updated as part of this pull request. |
| ingestion/src/metadata/profiler/interface/sqlalchemy/bigquery/profiler_interface.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/stage/table_usage.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/source/pipeline/tableaupipeline/metadata.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/source/pipeline/data360pipeline/lineage.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/source/database/postgres/pgspider/lineage.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/source/database/life_cycle_query_mixin.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/source/database/common_db_source.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/source/database/clickhouse/resolution.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/source/database/bigquery/queries.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/ometa/mixins/es_mixin.py | Updated as part of this pull request. |
| ingestion/src/metadata/ingestion/bulksink/metadata_usage.py | Updated as part of this pull request. |
| ingestion/src/metadata/entity_resolution/engine.py | Updated as part of this pull request. |
| ingestion/src/metadata/domain/table_reference.py | Updated as part of this pull request. |
| ingestion/src/metadata/data_quality/validations/runtime_param_setter/table_diff_params_setter.py | Updated as part of this pull request. |
| ingestion/src/metadata/data_quality/validations/runtime_param_setter/rule_library_sql_expression_params_setter.py | Updated as part of this pull request. |
| ingestion/src/metadata/data_quality/validations/runtime_param_setter/evaluation_scope_params_setter.py | Updated as part of this pull request. |
| ingestion/src/metadata/data_quality/validations/models.py | Updated as part of this pull request. |
| docs/decisions/2026-11-03-source-lifecycle-merges-earliest-creation-and-latest-activity.md | Updated as part of this pull request. |
| .github/java-tests/impact-map.json | Updated as part of this pull request. |
Review effort: Balanced
| <ProfileExecutionSource | ||
| isSharded={isSharded} | ||
| profiles={profiles} | ||
| timestamp={Number(row?.timestamp)} |
There was a problem hiding this comment.
🔵 Needs a closer look
The custom-metric footer can misattribute results to the sampler’s representative shard even when the metric SQL queries a different shard, and the regression fixture does not cover this case.
1 open issue
Review effort: Balanced
Code Review ✅ Approved 7 closed / 7 findings🔴 High risk · Grouping daily BigQuery tables into logical records changes catalog identity, lineage, and reconciliation, so mistakes could disrupt metadata and historical continuity. Adds BigQuery shard-family grouping so daily shards collapse into one stable logical ✅ 7 closed✅ Bug: BigQuery table search now raises instead of returning None
✅ Performance: Sharding mode runs lifecycle and DDL queries per table, not per dataset
✅ Quality: New Sharded table contract and logical-name format have no record
✅ Quality: Sharding defaults and 10000 caps are unrecorded judgment calls
✅ Quality: Lifecycle merge now keeps earliest created for all entities, unrecorded
...and 2 more closed from earlier reviews VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
| Count | Rule |
|---|---|
| 13 | react-hooks/exhaustive-deps |
| 9 | openmetadata-imports/no-lower-layer-page-imports |
| 2 | openmetadata-ui-patterns/deprecated-om-tokens |
| 2 | openmetadata-imports/no-circular-imports |
| 1 | openmetadata-imports/no-api-calls-in-iteration |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/Database/Profiler/TableProfiler/CustomMetricGraphs/CustomMetricGraphs.component.tsx:132:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/Database/Profiler/TableProfiler/SingleColumnProfile.tsx:156:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'profilerDocsLink' and 't'. Either include them or remove the dependency array. |
| 🟡 | src/components/Database/Profiler/TableProfiler/SingleColumnProfile.tsx:228:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'createMetricsChartData'. Either include it or remove the dependency array. |
| 🟡 | src/components/Database/Profiler/TableProfiler/TableProfilerChart/TableProfilerChart.tsx:136:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'profilerDocsLink' and 't'. Either include them or remove the dependency array. |
| 🟡 | src/components/Database/Profiler/TableProfiler/TableProfilerChart/TableProfilerChart.tsx:157:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 'profileMetrics'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/Database/Profiler/TableProfiler/TableProfilerChart/TableProfilerChart.tsx:201:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchProfilerData'. Either include it or remove the dependency array. |
| 🟡 | src/components/Database/SampleDataTable/SampleDataTable.component.tsx:277:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchSampleData' and 'isTableDeleted'. Either include them or remove the dependency array. |
| 🟡 | src/components/Explore/ExplorePage.interface.ts:52:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/ExploreV1/ExploreV1.component.tsx:217:26 |
openmetadata-ui-patterns/deprecated-om-tokens |
Legacy token "--om-legacy-color-0-0-0-0-2" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add |
| 🟡 | src/components/Settings/Services/AddIngestion/AddIngestion.component.tsx:242:7 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/Settings/Services/Ingestion/IngestionWorkflowForm/IngestionWorkflowForm.tsx:47:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/interface/search.interface.ts:15:1 |
openmetadata-imports/no-circular-imports |
This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency. |
| 🟡 | src/interface/search.interface.ts:73:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/interface/search.interface.ts:74:1 |
openmetadata-imports/no-circular-imports |
This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency. |
| 🟡 | src/pages/ExplorePage/ExplorePageV1.component.tsx:238:7 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'navigate' and 'tabsInfo'. Either include them or remove the dependency array. |
| 🟡 | src/pages/ExplorePage/ExplorePageV1.component.tsx:251:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array. |
| 🟡 | src/pages/ExplorePage/ExplorePageV1.component.tsx:277:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array. |
| 🟡 | src/pages/ExplorePage/ExplorePageV1.component.tsx:316:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'tabsInfo'. Either include it or remove the dependency array. |
| 🟡 | src/pages/ExplorePage/ExplorePageV1.component.tsx:650:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'performFetch'. Either include it or remove the dependency array. |
| 🟡 | src/pages/ExplorePage/ExplorePageV1.component.tsx:780:3 |
openmetadata-ui-patterns/deprecated-om-tokens |
Legacy token "--om-page-height" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add new refere |
| 🟡 | src/utils/GenericWidget/GenericWidgetUtils.tsx:35:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/IngestionWorkflowUtils.ts:45:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/TableClassBase.test.ts:30:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/TableClassBase.ts:32:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/TableShardingUtils.ts:116:29 |
openmetadata-imports/no-api-calls-in-iteration |
Avoid issuing one API request per item. Fetch at the data owner, use a bulk endpoint, or use useQueries with an intentional concurrency policy. |
| 🟡 | src/utils/TableTabsUtils.tsx:15:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/TableTabsUtils.tsx:36:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed
|
… test (#37097) * Fix nightly ingestion integration tests broken by connector defaults and BigQuery usage resolution - ometa workflow fixture: set MysqlConnection.type explicitly. The dump excludes unset fields, so without the discriminator the untagged DatabaseConnection union resolved to TrinoConnection once Trino gained default filter patterns (#36677). - test_sample_usage: sample_data is a BigQuery service, and BigQuery usage resolution (#36867) rewrites references to database.schema.table, so expect those keys. Assert the whole map so a miss shows what was found. * Fix flaky Alation sink clock tests that patched the global time.monotonic Patching `client.time.monotonic` replaces the attribute on the shared `time` module, so any background thread (a leftover pymongo cursor reaper on the 3.10 unit job) consumed the fake ticks; the exhausted iterator raised StopIteration, which _write_batch reported as an empty error. Patch the client module's `time` binding instead.
Resolve the conflict with open-metadata#36867 in the OpenLineage connector: _match_column_fqn keeps returning the stored column FQN, and keeps main's rule that an unmatched field of a sharded table resolves to None and is skipped. Add a test for that combined behaviour.




Describe your changes
Fixes #16640
Group eligible BigQuery daily shards into one stable logical
Shardedtable. The newest valid date suffix selects the physical representative; rollover preserves logical identity, curated metadata and result history.This PR remains draft. UI runtime/type verification, browser acceptance and live BigQuery execution remain outstanding.
Type of change
High-level design
Table.tableShardingrecords the family and representative. It is a nested Table property, including its Stored JSON-string RDF projection; it is not a separate catalog or ontology entity.resolution.pysuppliesTableBindingResolution; absent modules use the default. Module discovery avoids loading connector specs and drivers. Shared resolution and SQL lineage code remain service-type agnostic. BigQuery and ClickHouse implementations live in their connectors.executionSource. Table/column and quality history remains continuous across rollover, displaying the source recorded on each result. Sharded records lacking provenance show unavailable; ordinary records do not acquire that message. The current representative never supplies historical scope.Sharded INSERT/UPDATE/DELETE system metrics and deletion grace remain deferred. Ordinary profiling, quality, usage and lineage remain enabled. No system-profile storage migration, accumulated aliases, migration CLI, connector registry or repository connector documentation is included. Unsupported rule-library/data-diff paths remain explicit; arbitrary custom SQL does not receive inferred representative provenance.
Tests
Use cases covered
Representative rollover and inventory drift; one refresh shared across missing families; confirmed-empty versus failed reconciliation; active/deleted identity collisions; ordinary lifecycle behavior; wildcard hydration warnings and bounded search; Hex cross-service matching; ClickHouse database constraints; persisted provenance and history; deferred system metrics.
The rollover API regression now independently PATCHes curation, then omits it from the subsequent ingestion PUT.
Fresh automated checks
git diff --check: exit 0.Backend integration tests
Local Java test run: FAILED
e9261b15d9c0(basee9261b15d9c06607ea23eb4c92ae66b1e58becc1) — uncommitted changes were presentFailed:
TableShardingIT#representativeRolloverKeepsIdentityAndAnnotations(TestNamespace),RdfOntologyActivationIT#activationRollbackAndArchiveSurviveRebuildingTheServingDataset(TestNamespace),RdfOntologyActivationIT#rdfDisabledActivationIsProjectedWhenTheGraphIsRebuilt(TestNamespace),RdfReindexInsertOnlyIT#recreateRunWritesEntitiesAndDetailedLineageIdempotently(TestNamespace)Every test skipped, so these exercised nothing (check their assumptions — usually the engine):
BaseEntityIT$ListEntityHistoryByTimestampPaginationTest (mysql-elasticsearch · parallel),RdfIndexAppScaleIT (mysql-elasticsearch · rdf)The broad parallel run caught an incorrect actor in the strengthened rollover test: admin PUT clears omitted descriptions by design. The corrected test uses the ingestion-bot client after an independent admin PATCH. Its fresh focused rerun passes 3/3 tests, exit 0, including unchanged catalog creation audit fields.
The broad RDF lane had three errors while a reindex maintenance pause affected later tests. A fresh isolated rerun of
RdfReindexInsertOnlyITandRdfOntologyActivationITpasses 3/3 tests, Maven exit 0. The full combined matrix above was not repeated, so it remains reported as failed rather than being relabeled green. The isolated-run recorder returned exit 1 because HEAD advanced during that run; the committed patch exactly matches the inspected pre-commit patch, and Maven itself exited 0.Correction commit:
fcc5648b2761229a3808644f9bbc0a6fc0ff6a84. All commit hooks passed. The working tree is clean.Ingestion integration tests
ingestion/tests/integration/ometa/test_hex_sharding_search.pyruns against real Elasticsearch and OpenSearch with repository mappings. All 10 cases pass, covering cross-service ambiguity, decorators, physical precedence, wildcard bounds and positive/negative ClickHouse database matching. BigQuery inventory/catalog boundaries use generic controlled fixtures; no live cloud tests were run.UI and Playwright
Jest and
tsc:checkexit 1 before execution: required Node >=22.23.4, installed 22.22.2. Maven's required Node download returns HTTP 403. Engine constraints were not bypassed. Component tests include historical column provenance across representative rollover, unavailable provenance only for sharded records, and retained older quality runs. Browser/Playwright checks and the feature recording remain unverified.Manual checks
Checklist
REVIEW.md; generic fixtures only.