diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx index 20afdafe106..e8fb2f4426a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx @@ -156,16 +156,10 @@ const ConfigureIngestion = ({ handleProfileSample(undefined); }; - const handleDashBoardServiceNames = (inputValue: string) => { - const separator = ','; - - const databaseNames = inputValue.includes(separator) - ? inputValue.split(separator) - : Array(inputValue); - - if (databaseNames) { + const handleDashBoardServiceNames = (inputValue: string[]) => { + if (inputValue) { onChange({ - databaseServiceNames: databaseNames, + databaseServiceNames: inputValue, }); } }; @@ -490,14 +484,17 @@ const ConfigureIngestion = ({

{t('message.database-service-name-message')}

- handleDashBoardServiceNames(e.target.value)} + onChange={handleDashBoardServiceNames} /> {getSeparator('')} diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json index 8642a2ece90..856658f1999 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json @@ -914,7 +914,7 @@ "data-asset-has-been-action-type": "Data Asset has been {{actionType}}", "data-insight-page-views": "Displays the number of times a dataset type was viewed.", "data-insight-subtitle": "Get a single pane view of the health of all your data assets over time.", - "database-service-name-message": "Database Service Name for creation of lineage.", + "database-service-name-message": "Add the database service names to create lineage.", "dbt-catalog-file-extract-path": " dbt catalog file to extract dbt models with their column schemas.", "dbt-cloud-project": "In case of multiple projects in a dbt cloud account, specify the project's id from which you want to extract the dbt run artifacts", "dbt-ingestion-description": "A dbt workflow can be configured and deployed after a metadata ingestion has been set up. Multiple dbt pipelines can be set up for the same database service. The pipeline feeds the dbt tab of the Table entity, creates lineage from dbt nodes and adds tests from dbt. Add the source configuration of the dbt files to start.",