From 26f111a61c51854fe6a1dde8c3e8640ec901ecfd Mon Sep 17 00:00:00 2001 From: Jay <159848059+jayacryl@users.noreply.github.com> Date: Tue, 18 Feb 2025 15:19:41 -0500 Subject: [PATCH] feat(ingestion) source info data model to use keyword searchables (#12630) --- .../ingestion/DataHubIngestionSourceInfo.pdl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/metadata-models/src/main/pegasus/com/linkedin/ingestion/DataHubIngestionSourceInfo.pdl b/metadata-models/src/main/pegasus/com/linkedin/ingestion/DataHubIngestionSourceInfo.pdl index 3d384bbd6b08f..a7272b13eac5e 100644 --- a/metadata-models/src/main/pegasus/com/linkedin/ingestion/DataHubIngestionSourceInfo.pdl +++ b/metadata-models/src/main/pegasus/com/linkedin/ingestion/DataHubIngestionSourceInfo.pdl @@ -22,7 +22,8 @@ record DataHubIngestionSourceInfo { * The type of the source itself, e.g. mysql, bigquery, bigquery-usage. Should match the recipe. */ @Searchable = { - "fieldType": "TEXT_PARTIAL" + "fieldType": "KEYWORD", + "queryByDefault": false } type: string @@ -54,7 +55,9 @@ record DataHubIngestionSourceInfo { * The id of the executor to use to execute the ingestion run */ @Searchable = { - "fieldName": "sourceExecutorId" + "fieldName": "sourceExecutorId", + "fieldType": "KEYWORD", + "queryByDefault": false } executorId: optional string @@ -79,7 +82,9 @@ record DataHubIngestionSourceInfo { * The source type of the ingestion source */ @Searchable = { - "fieldName": "sourceType" + "fieldName": "sourceType", + "fieldType": "KEYWORD", + "queryByDefault": false } type: enum DataHubIngestionSourceSourceType { /** @@ -88,4 +93,4 @@ record DataHubIngestionSourceInfo { SYSTEM } } -} \ No newline at end of file +}