From dff2b394d589ac27fdc5ee90b9e4deb848eb26e7 Mon Sep 17 00:00:00 2001 From: Eugenio Date: Wed, 1 Oct 2025 14:11:14 +0200 Subject: [PATCH] Fix classification scoring (#23523) * Add `reason` property to `TagLabel` This is to understand what score was used for selecting the entity * Build `TagLabel`s with `reason` * Increase `PIIProcessor._tolerance` This is so we correctly filter out low scores from classifiers while still maintaining the normalization that filters out confusing outcomes. e.g: an output with scores 0.3, 0.7 and 0.75, would initially filter the 0.3 and then discard the other two because they're both relatively high results. * Make database and DAO changes needed to persist `TagLabel.reason` * Update generated TypeScript types --------- Co-authored-by: github-actions[bot] --- .../native/1.10.0/mysql/schemaChanges.sql | 5 +- .../native/1.10.0/postgres/schemaChanges.sql | 5 +- .../src/metadata/pii/algorithms/utils.py | 4 + ingestion/src/metadata/pii/processor.py | 14 +++- .../orm_profiler/test_pii_processor.py | 55 ++----------- .../tests/unit/pii/test_pii_sensitive.py | 8 +- .../service/cache/CachedTagUsageDAO.java | 10 ++- .../service/jdbi3/CollectionDAO.java | 36 +++++---- .../service/jdbi3/EntityRepository.java | 3 +- .../cache/CacheWarmupIntegrationTest.java | 6 +- .../service/cache/CacheWarmupServiceTest.java | 3 +- .../service/cache/TagUsageCacheTest.java | 15 ++-- .../databases/TableResourceTest.java | 77 ++++++++++++++++--- .../resources/json/schema/type/tagLabel.json | 4 + .../api/automations/createWorkflow.ts | 4 + .../generated/api/data/createAPICollection.ts | 4 + .../generated/api/data/createAPIEndpoint.ts | 4 + .../ui/src/generated/api/data/createChart.ts | 4 + .../src/generated/api/data/createContainer.ts | 4 + .../src/generated/api/data/createDashboard.ts | 4 + .../api/data/createDashboardDataModel.ts | 4 + .../generated/api/data/createDataContract.ts | 4 + .../src/generated/api/data/createDatabase.ts | 4 + .../api/data/createDatabaseSchema.ts | 4 + .../src/generated/api/data/createDirectory.ts | 4 + .../ui/src/generated/api/data/createFile.ts | 4 + .../src/generated/api/data/createGlossary.ts | 4 + .../generated/api/data/createGlossaryTerm.ts | 4 + .../ui/src/generated/api/data/createMetric.ts | 4 + .../src/generated/api/data/createMlModel.ts | 4 + .../src/generated/api/data/createPipeline.ts | 4 + .../ui/src/generated/api/data/createQuery.ts | 4 + .../generated/api/data/createSearchIndex.ts | 8 ++ .../generated/api/data/createSpreadsheet.ts | 4 + .../api/data/createStoredProcedure.ts | 4 + .../ui/src/generated/api/data/createTable.ts | 4 + .../ui/src/generated/api/data/createTopic.ts | 4 + .../src/generated/api/data/createWorksheet.ts | 4 + .../ui/src/generated/api/data/loadGlossary.ts | 4 + .../ui/src/generated/api/data/updateColumn.ts | 4 + .../api/domains/createDataProduct.ts | 4 + .../src/generated/api/domains/createDomain.ts | 4 + .../generated/api/feed/createSuggestion.ts | 4 + .../generated/api/mcp/mcpSearchResponse.ts | 4 + .../api/services/createApiService.ts | 4 + .../api/services/createDashboardService.ts | 4 + .../api/services/createDatabaseService.ts | 4 + .../api/services/createDriveService.ts | 4 + .../api/services/createMessagingService.ts | 4 + .../api/services/createMetadataService.ts | 4 + .../api/services/createMlModelService.ts | 4 + .../api/services/createPipelineService.ts | 4 + .../api/services/createSearchService.ts | 4 + .../api/services/createSecurityService.ts | 4 + .../api/services/createStorageService.ts | 4 + .../createIngestionPipeline.ts | 8 ++ .../src/generated/api/tests/createTestCase.ts | 4 + .../generated/api/tests/createTestSuite.ts | 4 + .../api/validateGlossaryTagsRequest.ts | 4 + .../src/generated/entity/applications/app.ts | 8 ++ .../external/automator/addTagsAction.ts | 4 + .../external/automator/addTermsAction.ts | 4 + .../external/automator/addTestCaseAction.ts | 4 + .../external/automator/addTierAction.ts | 4 + .../automator/lineagePropagationAction.ts | 4 + .../automator/propagationStopConfig.ts | 4 + .../external/automator/removeTagsAction.ts | 4 + .../external/automator/removeTermsAction.ts | 4 + .../external/automatorAppConfig.ts | 8 ++ .../marketplace/appMarketPlaceDefinition.ts | 8 ++ .../createAppMarketPlaceDefinitionReq.ts | 8 ++ .../generated/entity/automations/workflow.ts | 4 + .../generated/entity/data/apiCollection.ts | 4 + .../src/generated/entity/data/apiEndpoint.ts | 4 + .../ui/src/generated/entity/data/chart.ts | 4 + .../ui/src/generated/entity/data/container.ts | 4 + .../ui/src/generated/entity/data/dashboard.ts | 4 + .../entity/data/dashboardDataModel.ts | 4 + .../src/generated/entity/data/dataContract.ts | 4 + .../ui/src/generated/entity/data/database.ts | 4 + .../generated/entity/data/databaseSchema.ts | 4 + .../ui/src/generated/entity/data/directory.ts | 4 + .../ui/src/generated/entity/data/file.ts | 4 + .../ui/src/generated/entity/data/glossary.ts | 4 + .../src/generated/entity/data/glossaryTerm.ts | 4 + .../ui/src/generated/entity/data/metric.ts | 4 + .../ui/src/generated/entity/data/mlmodel.ts | 4 + .../ui/src/generated/entity/data/pipeline.ts | 4 + .../ui/src/generated/entity/data/query.ts | 4 + .../src/generated/entity/data/searchIndex.ts | 4 + .../src/generated/entity/data/spreadsheet.ts | 4 + .../generated/entity/data/storedProcedure.ts | 4 + .../ui/src/generated/entity/data/table.ts | 4 + .../ui/src/generated/entity/data/topic.ts | 4 + .../ui/src/generated/entity/data/worksheet.ts | 4 + .../generated/entity/domains/dataProduct.ts | 4 + .../ui/src/generated/entity/domains/domain.ts | 4 + .../src/generated/entity/feed/suggestion.ts | 4 + .../ui/src/generated/entity/feed/tag.ts | 4 + .../generated/entity/services/apiService.ts | 4 + .../entity/services/dashboardService.ts | 4 + .../entity/services/databaseService.ts | 4 + .../generated/entity/services/driveService.ts | 4 + .../ingestionPipelines/ingestionPipeline.ts | 8 ++ .../entity/services/messagingService.ts | 4 + .../entity/services/metadataService.ts | 4 + .../entity/services/mlmodelService.ts | 4 + .../entity/services/pipelineService.ts | 4 + .../entity/services/searchService.ts | 4 + .../entity/services/securityService.ts | 4 + .../entity/services/storageService.ts | 4 + .../metadataIngestion/application.ts | 8 ++ .../metadataIngestion/applicationPipeline.ts | 8 ++ .../reverseIngestionPipeline.ts | 4 + .../reverseingestionconfig/tagsConfig.ts | 4 + .../storage/containerMetadataConfig.ts | 4 + .../storage/manifestMetadataConfig.ts | 4 + .../generated/metadataIngestion/workflow.ts | 8 ++ .../ui/src/generated/tests/testCase.ts | 4 + .../ui/src/generated/tests/testSuite.ts | 4 + .../ui/src/generated/type/apiSchema.ts | 4 + .../src/generated/type/assetCertification.ts | 4 + .../resources/ui/src/generated/type/schema.ts | 4 + .../ui/src/generated/type/tableUsageCount.ts | 4 + .../ui/src/generated/type/tagLabel.ts | 4 + 125 files changed, 636 insertions(+), 93 deletions(-) diff --git a/bootstrap/sql/migrations/native/1.10.0/mysql/schemaChanges.sql b/bootstrap/sql/migrations/native/1.10.0/mysql/schemaChanges.sql index b8c5cbb6571..ac656879aef 100644 --- a/bootstrap/sql/migrations/native/1.10.0/mysql/schemaChanges.sql +++ b/bootstrap/sql/migrations/native/1.10.0/mysql/schemaChanges.sql @@ -81,4 +81,7 @@ CREATE TABLE IF NOT EXISTS recognizer_feedback_entity ( INDEX idx_feedback_tag (tagFQN), INDEX idx_feedback_status (status), INDEX idx_feedback_created (createdAt) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; + +ALTER TABLE tag_usage +ADD COLUMN reason TEXT; diff --git a/bootstrap/sql/migrations/native/1.10.0/postgres/schemaChanges.sql b/bootstrap/sql/migrations/native/1.10.0/postgres/schemaChanges.sql index 707635b08ab..84eb962dfd3 100644 --- a/bootstrap/sql/migrations/native/1.10.0/postgres/schemaChanges.sql +++ b/bootstrap/sql/migrations/native/1.10.0/postgres/schemaChanges.sql @@ -98,4 +98,7 @@ CREATE TABLE IF NOT EXISTS recognizer_feedback_entity ( CREATE INDEX IF NOT EXISTS idx_feedback_entity ON recognizer_feedback_entity(entityLink); CREATE INDEX IF NOT EXISTS idx_feedback_tag ON recognizer_feedback_entity(tagFQN); CREATE INDEX IF NOT EXISTS idx_feedback_status ON recognizer_feedback_entity(status); -CREATE INDEX IF NOT EXISTS idx_feedback_created ON recognizer_feedback_entity(createdAt); \ No newline at end of file +CREATE INDEX IF NOT EXISTS idx_feedback_created ON recognizer_feedback_entity(createdAt); + +ALTER TABLE tag_usage +ADD COLUMN reason TEXT; diff --git a/ingestion/src/metadata/pii/algorithms/utils.py b/ingestion/src/metadata/pii/algorithms/utils.py index cf482336c9d..f64e00f246e 100644 --- a/ingestion/src/metadata/pii/algorithms/utils.py +++ b/ingestion/src/metadata/pii/algorithms/utils.py @@ -36,3 +36,7 @@ def get_top_classes(scores: Mapping[T, float], n: int, threshold: float) -> Sequ sorted_scores = sorted(scores.items(), key=lambda x: x[1], reverse=True) top_classes = [key for key, score in sorted_scores if score >= threshold] return top_classes[:n] + + +def build_reason(tag_name: str, score: float) -> str: + return f"Chose {tag_name} with a classification score of {score:.2f}" diff --git a/ingestion/src/metadata/pii/processor.py b/ingestion/src/metadata/pii/processor.py index 1bd4f5a6eb7..67765508b6a 100644 --- a/ingestion/src/metadata/pii/processor.py +++ b/ingestion/src/metadata/pii/processor.py @@ -27,7 +27,11 @@ from metadata.generated.schema.type.tagLabel import ( ) from metadata.ingestion.ometa.ometa_api import OpenMetadata from metadata.pii.algorithms.tags import PIISensitivityTag -from metadata.pii.algorithms.utils import get_top_classes, normalize_scores +from metadata.pii.algorithms.utils import ( + build_reason, + get_top_classes, + normalize_scores, +) from metadata.pii.base_processor import AutoClassificationProcessor from metadata.pii.constants import PII from metadata.utils import fqn @@ -45,6 +49,7 @@ class PIIProcessor(AutoClassificationProcessor): self, config: OpenMetadataWorkflowConfig, metadata: OpenMetadata, + tolerance: float = 0.7, ): super().__init__(config, metadata) @@ -56,10 +61,10 @@ class PIIProcessor(AutoClassificationProcessor): self._classifier: ColumnClassifier[PIISensitivityTag] = PIISensitiveClassifier() self.confidence_threshold = self.source_config.confidence / 100 - self._tolerance = 0.01 + self._tolerance = tolerance @staticmethod - def build_tag_label(tag: PIISensitivityTag) -> TagLabel: + def build_tag_label(tag: PIISensitivityTag, score: float) -> TagLabel: tag_fqn = fqn.build( metadata=None, entity_type=Tag, @@ -72,6 +77,7 @@ class PIIProcessor(AutoClassificationProcessor): source=TagSource.Classification, state=State.Suggested, labelType=LabelType.Generated, + reason=build_reason(tag_fqn, score), ) return tag_label @@ -96,5 +102,5 @@ class PIIProcessor(AutoClassificationProcessor): # winner is at most 1 tag winner = get_top_classes(scores, 1, self.confidence_threshold) - tag_labels = [self.build_tag_label(tag) for tag in winner] + tag_labels = [self.build_tag_label(tag, scores[tag]) for tag in winner] return tag_labels diff --git a/ingestion/tests/integration/orm_profiler/test_pii_processor.py b/ingestion/tests/integration/orm_profiler/test_pii_processor.py index 76c03c37f01..9f178fcca64 100644 --- a/ingestion/tests/integration/orm_profiler/test_pii_processor.py +++ b/ingestion/tests/integration/orm_profiler/test_pii_processor.py @@ -13,6 +13,7 @@ Test Processor Class """ import datetime +import re from unittest import TestCase from metadata.generated.schema.api.data.createDatabase import CreateDatabaseRequest @@ -182,54 +183,6 @@ class PiiProcessorTest(TestCase): config=workflow_config, metadata=OpenMetadata(server_config) ) - @classmethod - def setUpClass(cls) -> None: - """ - Prepare ingredients - """ - service = CreateDatabaseServiceRequest( - name="test-service-table-patch", - serviceType=DatabaseServiceType.Mysql, - connection=DatabaseConnection( - config=MysqlConnection( - username="username", - authType=BasicAuth( - password="password", - ), - hostPort="http://localhost:1234", - ) - ), - ) - service_entity = cls.metadata.create_or_update(data=service) - - create_db = CreateDatabaseRequest( - name="test-db", - service=service_entity.fullyQualifiedName, - ) - - create_db_entity = cls.metadata.create_or_update(data=create_db) - - create_schema = CreateDatabaseSchemaRequest( - name="test-schema", - database=create_db_entity.fullyQualifiedName, - ) - - create_schema_entity = cls.metadata.create_or_update(data=create_schema) - - created_table = CreateTableRequest( - name="customers", - columns=[ - Column(name="customer_id", dataType=DataType.INT), - Column(name="first_name", dataType=DataType.VARCHAR, dataLength=20), - Column(name="last_name", dataType=DataType.VARCHAR, dataLength=20), - Column(name="first_order", dataType=DataType.DATE), - Column(name="customer_email", dataType=DataType.VARCHAR, dataLength=20), - Column(name="number_of_orders", dataType=DataType.BIGINT), - ], - databaseSchema=create_schema_entity.fullyQualifiedName, - ) - cls.table_entity = cls.metadata.create_or_update(data=created_table) - @classmethod def tearDownClass(cls) -> None: """ @@ -310,3 +263,9 @@ class PiiProcessorTest(TestCase): for expected, updated in zip(EXPECTED_COLUMN_TAGS, updated_record.column_tags): self.assertEqual(expected.column_fqn, updated.column_fqn) self.assertEqual(expected.tag_label.tagFQN, updated.tag_label.tagFQN) + self.assertRegex( + updated.tag_label.reason, + expected_regex=re.compile( + f"Chose {expected.tag_label.tagFQN.root} with a classification score of \d+([.,]?\d{{1,2}})?" + ), + ) diff --git a/ingestion/tests/unit/pii/test_pii_sensitive.py b/ingestion/tests/unit/pii/test_pii_sensitive.py index dd532f4e93b..0db7e6d91e0 100644 --- a/ingestion/tests/unit/pii/test_pii_sensitive.py +++ b/ingestion/tests/unit/pii/test_pii_sensitive.py @@ -17,19 +17,23 @@ from metadata.pii.processor import PIIProcessor def test_pii_processor_build_tag_label_for_pii_sensitive(): tag = PIISensitivityTag.SENSITIVE - tag_label = PIIProcessor.build_tag_label(tag) + tag_label = PIIProcessor.build_tag_label(tag, score=0.7) assert tag_label.tagFQN.root == "PII.Sensitive" assert tag_label.source == TagSource.Classification assert tag_label.state == State.Suggested assert tag_label.labelType == LabelType.Generated + assert tag_label.reason == "Chose PII.Sensitive with a classification score of 0.70" def test_pii_processor_build_tag_label_for_pii_nonsensitive(): tag = PIISensitivityTag.NONSENSITIVE - tag_label = PIIProcessor.build_tag_label(tag) + tag_label = PIIProcessor.build_tag_label(tag, score=0.7) assert tag_label.tagFQN.root == "PII.NonSensitive" assert tag_label.source == TagSource.Classification assert tag_label.state == State.Suggested assert tag_label.labelType == LabelType.Generated + assert ( + tag_label.reason == "Chose PII.NonSensitive with a classification score of 0.70" + ) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/cache/CachedTagUsageDAO.java b/openmetadata-service/src/main/java/org/openmetadata/service/cache/CachedTagUsageDAO.java index a1d870994dd..4a750474585 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/cache/CachedTagUsageDAO.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/cache/CachedTagUsageDAO.java @@ -41,9 +41,10 @@ public class CachedTagUsageDAO implements CollectionDAO.TagUsageDAO { String tagFQNHash, String targetFQNHash, int labelType, - int state) { + int state, + String reason) { try { - delegate.applyTag(source, tagFQN, tagFQNHash, targetFQNHash, labelType, state); + delegate.applyTag(source, tagFQN, tagFQNHash, targetFQNHash, labelType, state, reason); if (RelationshipCache.isAvailable()) { invalidateTagCaches(targetFQNHash); RelationshipCache.bumpTag(tagFQN, 1); @@ -437,10 +438,11 @@ public class CachedTagUsageDAO implements CollectionDAO.TagUsageDAO { List tagFQNHashes, List targetFQNHashes, List labelTypes, - List states) { + List states, + List reasons) { // This is an internal method that delegates directly to the database delegate.applyTagsBatchInternal( - sources, tagFQNs, tagFQNHashes, targetFQNHashes, labelTypes, states); + sources, tagFQNs, tagFQNHashes, targetFQNHashes, labelTypes, states, reasons); } @Override diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java index 721fa376fd4..8756e05ac71 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/CollectionDAO.java @@ -4360,11 +4360,11 @@ public interface CollectionDAO { interface TagUsageDAO { @ConnectionAwareSqlUpdate( value = - "INSERT IGNORE INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state)", + "INSERT IGNORE INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state, reason) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state, :reason)", connectionType = MYSQL) @ConnectionAwareSqlUpdate( value = - "INSERT INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state) ON CONFLICT (source, tagFQNHash, targetFQNHash) DO NOTHING", + "INSERT INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state, reason) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state, :reason) ON CONFLICT (source, tagFQNHash, targetFQNHash) DO NOTHING", connectionType = POSTGRES) void applyTag( @Bind("source") int source, @@ -4372,7 +4372,8 @@ public interface CollectionDAO { @BindFQN("tagFQNHash") String tagFQNHash, @BindFQN("targetFQNHash") String targetFQNHash, @Bind("labelType") int labelType, - @Bind("state") int state); + @Bind("state") int state, + @Bind("reason") String reason); default List getTags(String targetFQN) { List tags = getTagsInternal(targetFQN); @@ -4404,11 +4405,11 @@ public interface CollectionDAO { } @SqlQuery( - "SELECT source, tagFQN, labelType, state FROM tag_usage WHERE targetFQNHash = :targetFQNHash ORDER BY tagFQN") + "SELECT source, tagFQN, labelType, state, reason FROM tag_usage WHERE targetFQNHash = :targetFQNHash ORDER BY tagFQN") List getTagsInternal(@BindFQN("targetFQNHash") String targetFQNHash); @SqlQuery( - "SELECT targetFQNHash, source, tagFQN, labelType, state " + "SELECT targetFQNHash, source, tagFQN, labelType, state, reason " + "FROM tag_usage " + "WHERE targetFQNHash IN () " + "ORDER BY targetFQNHash, tagFQN") @@ -4418,7 +4419,7 @@ public interface CollectionDAO { @ConnectionAwareSqlQuery( value = - "SELECT tu.source, tu.tagFQN, tu.labelType, tu.targetFQNHash, tu.state, " + "SELECT tu.source, tu.tagFQN, tu.labelType, tu.targetFQNHash, tu.state, tu.reason, " + "CASE " + " WHEN tu.source = 1 THEN gterm.json " + " WHEN tu.source = 0 THEN ta.json " @@ -4430,7 +4431,7 @@ public interface CollectionDAO { connectionType = MYSQL) @ConnectionAwareSqlQuery( value = - "SELECT tu.source, tu.tagFQN, tu.labelType, tu.targetFQNHash, tu.state, " + "SELECT tu.source, tu.tagFQN, tu.labelType, tu.targetFQNHash, tu.state, tu.reason, " + "CASE " + " WHEN tu.source = 1 THEN gterm.json " + " WHEN tu.source = 0 THEN ta.json " @@ -4656,7 +4657,8 @@ public interface CollectionDAO { .withSource(TagLabel.TagSource.values()[r.getInt("source")]) .withLabelType(TagLabel.LabelType.values()[r.getInt("labelType")]) .withState(TagLabel.State.values()[r.getInt("state")]) - .withTagFQN(r.getString("tagFQN")); + .withTagFQN(r.getString("tagFQN")) + .withReason(r.getString("reason")); } } @@ -4677,7 +4679,8 @@ public interface CollectionDAO { .withSource(TagLabel.TagSource.values()[r.getInt("source")]) .withLabelType(TagLabel.LabelType.values()[r.getInt("labelType")]) .withState(TagLabel.State.values()[r.getInt("state")]) - .withTagFQN(r.getString("tagFQN")); + .withTagFQN(r.getString("tagFQN")) + .withReason(r.getString("reason")); TagLabel.TagSource source = TagLabel.TagSource.values()[r.getInt("source")]; if (source == TagLabel.TagSource.CLASSIFICATION) { Tag tag = JsonUtils.readValue(r.getString("json"), Tag.class); @@ -4707,6 +4710,7 @@ public interface CollectionDAO { tag.setTagFQN(rs.getString("tagFQN")); tag.setLabelType(rs.getInt("labelType")); tag.setState(rs.getInt("state")); + tag.setReason(rs.getString("reason")); return tag; } } @@ -4719,6 +4723,7 @@ public interface CollectionDAO { private String tagFQN; private int labelType; private int state; + private String reason; // Getters and Setters @@ -4728,6 +4733,7 @@ public interface CollectionDAO { tagLabel.setTagFQN(this.tagFQN); tagLabel.setLabelType(TagLabel.LabelType.values()[this.labelType]); tagLabel.setState(TagLabel.State.values()[this.state]); + tagLabel.setReason(this.reason); return tagLabel; } } @@ -4791,6 +4797,7 @@ public interface CollectionDAO { List targetFQNHashes = new ArrayList<>(); List labelTypes = new ArrayList<>(); List states = new ArrayList<>(); + List reasons = new ArrayList<>(); for (TagLabel tagLabel : tagLabels) { sources.add(tagLabel.getSource().ordinal()); @@ -4799,19 +4806,21 @@ public interface CollectionDAO { targetFQNHashes.add(targetFQNHash); labelTypes.add(tagLabel.getLabelType().ordinal()); states.add(tagLabel.getState().ordinal()); + reasons.add(tagLabel.getReason()); } - applyTagsBatchInternal(sources, tagFQNs, tagFQNHashes, targetFQNHashes, labelTypes, states); + applyTagsBatchInternal( + sources, tagFQNs, tagFQNHashes, targetFQNHashes, labelTypes, states, reasons); } @Transaction @ConnectionAwareSqlBatch( value = - "INSERT IGNORE INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state)", + "INSERT IGNORE INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state, reason) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state, :reason)", connectionType = MYSQL) @ConnectionAwareSqlBatch( value = - "INSERT INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state) ON CONFLICT (source, tagFQNHash, targetFQNHash) DO NOTHING", + "INSERT INTO tag_usage (source, tagFQN, tagFQNHash, targetFQNHash, labelType, state, reason) VALUES (:source, :tagFQN, :tagFQNHash, :targetFQNHash, :labelType, :state, :reason) ON CONFLICT (source, tagFQNHash, targetFQNHash) DO NOTHING", connectionType = POSTGRES) void applyTagsBatchInternal( @Bind("source") List sources, @@ -4819,7 +4828,8 @@ public interface CollectionDAO { @Bind("tagFQNHash") List tagFQNHashes, @Bind("targetFQNHash") List targetFQNHashes, @Bind("labelType") List labelTypes, - @Bind("state") List states); + @Bind("state") List states, + @Bind("reason") List reasons); /** * Delete multiple tags in batch to improve performance diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java index 0522ccbf281..a5b7fef3ad4 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java @@ -2465,7 +2465,8 @@ public abstract class EntityRepository { tagLabel.getTagFQN(), targetFQN, tagLabel.getLabelType().ordinal(), - tagLabel.getState().ordinal()); + tagLabel.getState().ordinal(), + tagLabel.getReason()); // Update RDF store org.openmetadata.service.rdf.RdfTagUpdater.applyTag(tagLabel, targetFQN); diff --git a/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupIntegrationTest.java b/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupIntegrationTest.java index 92f4c7d7a0e..920a5b49d49 100644 --- a/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupIntegrationTest.java +++ b/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupIntegrationTest.java @@ -202,7 +202,8 @@ class CacheWarmupIntegrationTest extends CachedOpenMetadataApplicationResourceTe tagHash, table.getFullyQualifiedName(), LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); LOG.debug("Applied tag {} to table {}", tagFQN, table.getName()); } @@ -423,7 +424,8 @@ class CacheWarmupIntegrationTest extends CachedOpenMetadataApplicationResourceTe tagHash, table.getFullyQualifiedName(), LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); long currentUsage = RelationshipCache.getTagUsage(testTagFQN); } diff --git a/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupServiceTest.java b/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupServiceTest.java index 56c1580f2b2..fc706e6110b 100644 --- a/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupServiceTest.java +++ b/openmetadata-service/src/test/java/org/openmetadata/service/cache/CacheWarmupServiceTest.java @@ -216,7 +216,8 @@ class CacheWarmupServiceTest extends CachedOpenMetadataApplicationResourceTest { "test-tag-hash-" + i, entityFQN, LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); } } diff --git a/openmetadata-service/src/test/java/org/openmetadata/service/cache/TagUsageCacheTest.java b/openmetadata-service/src/test/java/org/openmetadata/service/cache/TagUsageCacheTest.java index fa676a1b867..eb53d301938 100644 --- a/openmetadata-service/src/test/java/org/openmetadata/service/cache/TagUsageCacheTest.java +++ b/openmetadata-service/src/test/java/org/openmetadata/service/cache/TagUsageCacheTest.java @@ -249,7 +249,8 @@ public class TagUsageCacheTest extends CachedOpenMetadataApplicationResourceTest testTagFQNHash, testEntityFQNHash, LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); // Verify tag usage counter was updated long tagUsage = RelationshipCache.getTagUsage(testTagFQN); @@ -274,7 +275,8 @@ public class TagUsageCacheTest extends CachedOpenMetadataApplicationResourceTest testTagFQNHash, testEntityFQNHash, LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); // First call should be a cache miss List firstResult = tagUsageDAO.getTags(testEntityFQNHash); @@ -312,7 +314,8 @@ public class TagUsageCacheTest extends CachedOpenMetadataApplicationResourceTest testTagFQNHash, testEntityFQNHash, LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); // First batch call should be a cache miss List firstBatchResult = @@ -378,7 +381,8 @@ public class TagUsageCacheTest extends CachedOpenMetadataApplicationResourceTest testTagFQNHash, testEntityFQNHash, LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); // Verify tag usage counter long initialUsage = RelationshipCache.getTagUsage(testTagFQN); @@ -458,7 +462,8 @@ public class TagUsageCacheTest extends CachedOpenMetadataApplicationResourceTest tagHash, testEntityFQNHash, LabelType.MANUAL.ordinal(), - State.CONFIRMED.ordinal()); + State.CONFIRMED.ordinal(), + "Applied for testing purposes"); // Get tags and verify they exist List tags = tagUsageDAO.getTags(testEntityFQNHash); diff --git a/openmetadata-service/src/test/java/org/openmetadata/service/resources/databases/TableResourceTest.java b/openmetadata-service/src/test/java/org/openmetadata/service/resources/databases/TableResourceTest.java index 396eabddb8e..beacd1bf31a 100644 --- a/openmetadata-service/src/test/java/org/openmetadata/service/resources/databases/TableResourceTest.java +++ b/openmetadata-service/src/test/java/org/openmetadata/service/resources/databases/TableResourceTest.java @@ -77,17 +77,7 @@ import java.io.IOException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.text.ParseException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Comparator; -import java.util.Date; -import java.util.HashMap; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import java.util.Set; -import java.util.UUID; +import java.util.*; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; @@ -5533,4 +5523,69 @@ public class TableResourceTest extends EntityResourceTest { dataProductTest.deleteEntity(dataProduct.getId(), false, true, ADMIN_AUTH_HEADERS); domainTest.deleteEntity(domain.getId(), false, true, ADMIN_AUTH_HEADERS); } + + @Test + void test_columnWithMultipleTags_withClassificationReason(TestInfo test) throws IOException { + // Patch a table: + // 1. PII.Sensitive - from classification with reason "Classified with score 1.0" + // 2. Personal.Name - manual tag with no reason (null) + Column column = getColumn(C1, ColumnDataType.STRING, null); + + CreateTable request = createRequest(test).withColumns(List.of(column)); + Table table = createEntity(request, ADMIN_AUTH_HEADERS); + + TagLabel personalTagLabel = PERSONAL_DATA_TAG_LABEL; + TagLabel sensitiveTagLabel = + PII_SENSITIVE_TAG_LABEL.withReason("Classified with score 1.0"); // Classification reason + + // Create a column with sensitive tag + Column columnWithAutoClassification = column.withTags(List.of(sensitiveTagLabel)); + + String originalTable = JsonUtils.pojoToJson(table); + + table = table.withColumns(List.of(columnWithAutoClassification)); + + Table patchedTable = patchEntity(table.getId(), originalTable, table, ADMIN_AUTH_HEADERS); + + assertNotNull(patchedTable.getColumns()); + assertEquals(1, patchedTable.getColumns().size()); + Column patchedColumn = patchedTable.getColumns().getFirst(); + List tags = patchedColumn.getTags(); + assertNotNull(tags); + assertEquals(1, tags.size()); + + TagLabel piiTag = tags.getFirst(); + assertNotNull(piiTag); + assertEquals("Sensitive", piiTag.getName()); + assertEquals("PII.Sensitive", piiTag.getTagFQN()); + assertEquals("Classified with score 1.0", piiTag.getReason()); + + // Now add personal tag manually + Column columnWithBothTags = column.withTags(List.of(sensitiveTagLabel, personalTagLabel)); + + originalTable = JsonUtils.pojoToJson(patchedTable); + + table = patchedTable.withColumns(List.of(columnWithBothTags)); + + patchedTable = patchEntity(table.getId(), originalTable, table, ADMIN_AUTH_HEADERS); + + assertNotNull(patchedTable.getColumns()); + assertEquals(1, patchedTable.getColumns().size()); + patchedColumn = patchedTable.getColumns().getFirst(); + tags = patchedColumn.getTags(); + assertNotNull(tags); + assertEquals(2, tags.size()); + + piiTag = tags.getFirst(); + assertNotNull(piiTag); + assertEquals("Sensitive", piiTag.getName()); + assertEquals("PII.Sensitive", piiTag.getTagFQN()); + assertEquals("Classified with score 1.0", piiTag.getReason()); + + TagLabel personalTag = tags.getLast(); + assertNotNull(personalTag); + assertEquals("Personal", personalTag.getName()); + assertEquals("PersonalData.Personal", personalTag.getTagFQN()); + assertNull(personalTag.getReason()); + } } diff --git a/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json b/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json index 9e0a60829cb..b850342348b 100644 --- a/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json +++ b/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json @@ -53,6 +53,10 @@ "href": { "description": "Link to the tag resource.", "$ref": "basic.json#/definitions/href" + }, + "reason": { + "type": "string", + "description": "An explanation of why this tag was proposed, specially for autoclassification tags" } }, "required": ["tagFQN", "source", "labelType", "state"], diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts index d142c6f5248..9f9206a0fad 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts @@ -4331,6 +4331,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPICollection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPICollection.ts index 191e8f40650..1cc483d9894 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPICollection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPICollection.ts @@ -199,6 +199,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPIEndpoint.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPIEndpoint.ts index b425e6bd99f..53d7ab341f1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPIEndpoint.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createAPIEndpoint.ts @@ -309,6 +309,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts index 7f7994b5026..d164029718b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts @@ -222,6 +222,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createContainer.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createContainer.ts index 552adc53633..f6d600c0000 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createContainer.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createContainer.ts @@ -592,6 +592,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts index cd60694e4f2..5a110ac85e6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts @@ -216,6 +216,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboardDataModel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboardDataModel.ts index b58b7066042..0cb2c4160cb 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboardDataModel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboardDataModel.ts @@ -558,6 +558,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDataContract.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDataContract.ts index 0f2ef11bf55..05d393b6d08 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDataContract.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDataContract.ts @@ -574,6 +574,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabase.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabase.ts index 573c8574c79..4c229c074a7 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabase.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabase.ts @@ -205,6 +205,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabaseSchema.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabaseSchema.ts index 2aab3d597c7..e53f2ed0243 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabaseSchema.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDatabaseSchema.ts @@ -199,6 +199,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDirectory.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDirectory.ts index 8c0f6b83155..bcfc4730637 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDirectory.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDirectory.ts @@ -236,6 +236,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createFile.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createFile.ts index a6ad16aae93..87388618bdd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createFile.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createFile.ts @@ -257,6 +257,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts index 7d89850c0ed..01a8e625e45 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts @@ -151,6 +151,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts index bd13a64430c..19a2eb46566 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts @@ -195,6 +195,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMetric.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMetric.ts index 6cb667915bc..b1462460b3a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMetric.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMetric.ts @@ -217,6 +217,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMlModel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMlModel.ts index a00a69b76fd..b987ab05397 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMlModel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMlModel.ts @@ -304,6 +304,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createPipeline.ts index daa883bc7ba..16185554c06 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createPipeline.ts @@ -229,6 +229,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createQuery.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createQuery.ts index c8d0466817a..f2a02fec2e6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createQuery.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createQuery.ts @@ -174,6 +174,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSearchIndex.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSearchIndex.ts index 7a88446f77d..5c00384bee2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSearchIndex.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSearchIndex.ts @@ -184,6 +184,10 @@ export interface FieldTag { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -382,6 +386,10 @@ export interface CreateSearchIndexTag { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSpreadsheet.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSpreadsheet.ts index e598eb86aa4..9e06d051244 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSpreadsheet.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createSpreadsheet.ts @@ -238,6 +238,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createStoredProcedure.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createStoredProcedure.ts index 28abbfbbb0b..782a3275b29 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createStoredProcedure.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createStoredProcedure.ts @@ -237,6 +237,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTable.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTable.ts index e4be5a15a82..b23d0168d35 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTable.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTable.ts @@ -571,6 +571,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts index 8a2518422fb..590677e13f1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts @@ -320,6 +320,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createWorksheet.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createWorksheet.ts index b40cb5a1d44..62e90ca650d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createWorksheet.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createWorksheet.ts @@ -572,6 +572,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/loadGlossary.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/loadGlossary.ts index 54fb17acccb..d0c04bd0d02 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/loadGlossary.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/loadGlossary.ts @@ -159,6 +159,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/updateColumn.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/updateColumn.ts index d8f765ff315..28b0ec048be 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/updateColumn.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/updateColumn.ts @@ -86,6 +86,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDataProduct.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDataProduct.ts index 039f88ee2b7..28c2ebfc83b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDataProduct.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDataProduct.ts @@ -160,6 +160,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDomain.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDomain.ts index a99c6ad2852..7537aa97995 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDomain.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/domains/createDomain.ts @@ -167,6 +167,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createSuggestion.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createSuggestion.ts index 7d32b0ccabc..f5d56727cc1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createSuggestion.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createSuggestion.ts @@ -58,6 +58,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/mcp/mcpSearchResponse.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/mcp/mcpSearchResponse.ts index dde7f853f63..77685c03b69 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/mcp/mcpSearchResponse.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/mcp/mcpSearchResponse.ts @@ -612,6 +612,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createApiService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createApiService.ts index 5cc0a9e4ad0..edefcb1d2d0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createApiService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createApiService.ts @@ -207,6 +207,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts index 6e755a2c34a..b9ca86cf88f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts @@ -1311,6 +1311,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts index ad4f9efe1d9..dc75aa0847a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts @@ -2189,6 +2189,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDriveService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDriveService.ts index cc385abd3e1..a7dcb6c8e02 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDriveService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDriveService.ts @@ -376,6 +376,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMessagingService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMessagingService.ts index 238becfdf99..e7a3c775829 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMessagingService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMessagingService.ts @@ -368,6 +368,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMetadataService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMetadataService.ts index ecb8cca8e8c..24357f39b9c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMetadataService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMetadataService.ts @@ -889,6 +889,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts index 03417866daf..8a4c9228709 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts @@ -391,6 +391,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createPipelineService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createPipelineService.ts index dec14e5bd4c..d5c44176087 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createPipelineService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createPipelineService.ts @@ -1148,6 +1148,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSearchService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSearchService.ts index 14fd8d8483f..6a30016d783 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSearchService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSearchService.ts @@ -352,6 +352,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSecurityService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSecurityService.ts index 442cc9c0140..4e624d6fbdd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSecurityService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createSecurityService.ts @@ -189,6 +189,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts index 18eabec06d0..0aff7fb05b3 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts @@ -415,6 +415,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts index bf3cb22fb61..6055f8fbc9f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts @@ -1317,6 +1317,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -1431,6 +1435,10 @@ export interface TierElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestCase.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestCase.ts index 3f8525811aa..3d9e36cbe88 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestCase.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestCase.ts @@ -155,6 +155,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestSuite.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestSuite.ts index cb495bb7c71..b706be99555 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestSuite.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestSuite.ts @@ -143,6 +143,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/validateGlossaryTagsRequest.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/validateGlossaryTagsRequest.ts index 5d5d27655d3..cccabf15655 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/validateGlossaryTagsRequest.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/validateGlossaryTagsRequest.ts @@ -52,6 +52,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/app.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/app.ts index 077f8c621bf..e9986645007 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/app.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/app.ts @@ -695,6 +695,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -809,6 +813,10 @@ export interface TierElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTagsAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTagsAction.ts index c672f490ecf..d8ae6b3c343 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTagsAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTagsAction.ts @@ -62,6 +62,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTermsAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTermsAction.ts index f0e025c8a03..19b8d65b449 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTermsAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTermsAction.ts @@ -62,6 +62,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTestCaseAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTestCaseAction.ts index 7de266fbc39..d5dd308c4e6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTestCaseAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTestCaseAction.ts @@ -101,6 +101,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTierAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTierAction.ts index 92b89d6a169..1f0d964d5e5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTierAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/addTierAction.ts @@ -59,6 +59,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/lineagePropagationAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/lineagePropagationAction.ts index fcc77397a81..099e4c5c2ec 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/lineagePropagationAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/lineagePropagationAction.ts @@ -133,6 +133,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/propagationStopConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/propagationStopConfig.ts index 08099886dfb..77703d9121f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/propagationStopConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/propagationStopConfig.ts @@ -77,6 +77,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTagsAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTagsAction.ts index c4c6f4bec11..0be96119b51 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTagsAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTagsAction.ts @@ -74,6 +74,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTermsAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTermsAction.ts index 4cc9879282b..23a5c37b753 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTermsAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automator/removeTermsAction.ts @@ -74,6 +74,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automatorAppConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automatorAppConfig.ts index 6c006ebbc53..7e1e448f045 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automatorAppConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/automatorAppConfig.ts @@ -383,6 +383,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -497,6 +501,10 @@ export interface TierElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/appMarketPlaceDefinition.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/appMarketPlaceDefinition.ts index 4a4dbe9b6af..ce9cd107c01 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/appMarketPlaceDefinition.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/appMarketPlaceDefinition.ts @@ -666,6 +666,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -780,6 +784,10 @@ export interface TagElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/createAppMarketPlaceDefinitionReq.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/createAppMarketPlaceDefinitionReq.ts index cb154e2641c..81ff08614bd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/createAppMarketPlaceDefinitionReq.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/marketplace/createAppMarketPlaceDefinitionReq.ts @@ -627,6 +627,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -741,6 +745,10 @@ export interface TagElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts index d899bc5691f..9c04784a745 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts @@ -4616,6 +4616,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiCollection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiCollection.ts index 7db5de2f383..f9a24d24ace 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiCollection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiCollection.ts @@ -225,6 +225,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiEndpoint.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiEndpoint.ts index 0af1ec619a4..cec56acc94b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiEndpoint.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/apiEndpoint.ts @@ -242,6 +242,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts index 55698fb34fe..1e325bf4b43 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts @@ -172,6 +172,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/container.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/container.ts index 4cff69989f1..bef1ef6af83 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/container.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/container.ts @@ -204,6 +204,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts index 08c78f2feb0..b0c620c438b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts @@ -182,6 +182,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboardDataModel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboardDataModel.ts index c4350f0b6cb..500387a3913 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboardDataModel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboardDataModel.ts @@ -173,6 +173,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dataContract.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dataContract.ts index 65c60a41483..bd30d82a27d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dataContract.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dataContract.ts @@ -750,6 +750,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts index f9172e3c8e7..b20a74eb659 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts @@ -190,6 +190,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/databaseSchema.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/databaseSchema.ts index 451cabcadc4..b2ac04e997b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/databaseSchema.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/databaseSchema.ts @@ -186,6 +186,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/directory.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/directory.ts index 90f9a539e38..b91dc2c1287 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/directory.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/directory.ts @@ -195,6 +195,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/file.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/file.ts index 6941993ea3b..19b2dc618bb 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/file.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/file.ts @@ -219,6 +219,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts index 6b72ac0628e..da9c794de04 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts @@ -293,6 +293,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts index 71944650592..f8bcf6f6e1e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts @@ -356,6 +356,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metric.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metric.ts index 998e88d7671..40ca4535911 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metric.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metric.ts @@ -168,6 +168,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts index 7fec6640acf..bb37bd4ea83 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts @@ -196,6 +196,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts index e3a124d41d3..4c6e67d88b2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts @@ -197,6 +197,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/query.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/query.ts index 4540ccad772..da56dc651ac 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/query.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/query.ts @@ -303,6 +303,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/searchIndex.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/searchIndex.ts index f24ab99d093..4963698269d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/searchIndex.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/searchIndex.ts @@ -176,6 +176,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/spreadsheet.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/spreadsheet.ts index ef3310a5e05..08320ff2395 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/spreadsheet.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/spreadsheet.ts @@ -208,6 +208,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/storedProcedure.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/storedProcedure.ts index 29e343fc88b..1914a58634c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/storedProcedure.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/storedProcedure.ts @@ -187,6 +187,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts index 4643fbaebc2..5f1894fcf55 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts @@ -244,6 +244,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts index ed7089444bc..4ea29fbd4a6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts @@ -203,6 +203,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/worksheet.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/worksheet.ts index 9bb3c8b9740..c8d39f71e86 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/worksheet.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/worksheet.ts @@ -198,6 +198,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/dataProduct.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/dataProduct.ts index e9cdfefcf26..6be74e00f01 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/dataProduct.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/dataProduct.ts @@ -428,6 +428,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/domain.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/domain.ts index 59169eb2bc3..d784e5cf9af 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/domain.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/domains/domain.ts @@ -276,6 +276,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/suggestion.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/suggestion.ts index 1c0ce9ec806..1182751b219 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/suggestion.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/suggestion.ts @@ -146,6 +146,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/tag.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/tag.ts index fe66a206eda..7e86fa25ad6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/tag.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/tag.ts @@ -52,6 +52,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/apiService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/apiService.ts index 9c0a76f23af..c1198cd1b0f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/apiService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/apiService.ts @@ -327,6 +327,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts index ad17c02d136..516ae9c175b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts @@ -1430,6 +1430,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts index 4fd8af0137b..f043d93ced7 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts @@ -2307,6 +2307,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/driveService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/driveService.ts index 322f95c42c6..0d1ac4afed1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/driveService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/driveService.ts @@ -495,6 +495,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts index d1446b8d7b6..1ad8f81397c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts @@ -1828,6 +1828,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -1942,6 +1946,10 @@ export interface TierElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts index 83d4c1d57f5..1d72276248a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts @@ -488,6 +488,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/metadataService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/metadataService.ts index 014e66e14ca..902b9326607 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/metadataService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/metadataService.ts @@ -1024,6 +1024,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts index 188a91512f2..9500a63279e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts @@ -511,6 +511,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts index a01fb1f52ff..57b62742632 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts @@ -1214,6 +1214,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/searchService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/searchService.ts index 57c5cbe58a7..b5dcc71c14a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/searchService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/searchService.ts @@ -470,6 +470,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/securityService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/securityService.ts index 1c4efccdb24..624c9fc5f24 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/securityService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/securityService.ts @@ -309,6 +309,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts index 66221084e4c..49c3837111d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts @@ -534,6 +534,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/application.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/application.ts index f063949a72b..f78b04767f3 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/application.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/application.ts @@ -537,6 +537,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -651,6 +655,10 @@ export interface TierElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/applicationPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/applicationPipeline.ts index c0334dd0508..b39b41e5d8f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/applicationPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/applicationPipeline.ts @@ -522,6 +522,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -636,6 +640,10 @@ export interface TierElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseIngestionPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseIngestionPipeline.ts index 375080642ab..f2c553e5a23 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseIngestionPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseIngestionPipeline.ts @@ -181,6 +181,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseingestionconfig/tagsConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseingestionconfig/tagsConfig.ts index 5d0e452f222..9b2c3b39d09 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseingestionconfig/tagsConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseingestionconfig/tagsConfig.ts @@ -52,6 +52,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/containerMetadataConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/containerMetadataConfig.ts index 3d9791dc550..5ac368e1133 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/containerMetadataConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/containerMetadataConfig.ts @@ -534,6 +534,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/manifestMetadataConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/manifestMetadataConfig.ts index 382c2ebca2a..962397d6a9b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/manifestMetadataConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/manifestMetadataConfig.ts @@ -531,6 +531,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts index a7cfc648230..97bdee66b97 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts @@ -5280,6 +5280,10 @@ export interface TagLabel { * Name of the entity instance. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ @@ -5394,6 +5398,10 @@ export interface TierElement { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/tests/testCase.ts b/openmetadata-ui/src/main/resources/ui/src/generated/tests/testCase.ts index 6023cb54afe..e8e7d112755 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/tests/testCase.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/tests/testCase.ts @@ -357,6 +357,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/tests/testSuite.ts b/openmetadata-ui/src/main/resources/ui/src/generated/tests/testSuite.ts index f43c1527a95..8b9fb637657 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/tests/testSuite.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/tests/testSuite.ts @@ -371,6 +371,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/apiSchema.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/apiSchema.ts index eec7335778d..bae88103339 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/apiSchema.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/apiSchema.ts @@ -115,6 +115,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/assetCertification.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/assetCertification.ts index 18f9c072bb0..b0e017d6284 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/assetCertification.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/assetCertification.ts @@ -53,6 +53,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/schema.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/schema.ts index ec9bdb57966..18a8082c883 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/schema.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/schema.ts @@ -121,6 +121,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/tableUsageCount.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/tableUsageCount.ts index 03e86935126..d335e25d7e1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/tableUsageCount.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/tableUsageCount.ts @@ -237,6 +237,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts index 73f70d2752e..de8dae611f8 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts @@ -38,6 +38,10 @@ export interface TagLabel { * Name of the tag or glossary term. */ name?: string; + /** + * An explanation of why this tag was proposed, specially for autoclassification tags + */ + reason?: string; /** * Label is from Tags or Glossary. */