Skip to content

Commit

Permalink
feat(ingestion) source info data model to use keyword searchables (da…
Browse files Browse the repository at this point in the history
  • Loading branch information
jayacryl authored Feb 18, 2025
1 parent 27e7278 commit 26f111a
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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 {
/**
Expand All @@ -88,4 +93,4 @@ record DataHubIngestionSourceInfo {
SYSTEM
}
}
}
}

0 comments on commit 26f111a

Please sign in to comment.