From 5e3f190f5d19bc6d91a16d68ea7e26f9e6c6d1c7 Mon Sep 17 00:00:00 2001 From: Milan Bariya <52292922+MilanBariya@users.noreply.github.com> Date: Tue, 7 Jun 2022 12:12:41 +0530 Subject: [PATCH] Add: Add databaseSchema filed in Yaml file (#5316) --- ingestion/examples/workflows/bigquery.yaml | 2 -- ingestion/examples/workflows/databricks.yaml | 1 - ingestion/examples/workflows/db2.yaml | 2 +- ingestion/examples/workflows/hive.yaml | 1 + ingestion/examples/workflows/mariadb.yaml | 1 + ingestion/examples/workflows/mysql.yaml | 1 + ingestion/examples/workflows/oracle.yaml | 1 + ingestion/examples/workflows/presto.yaml | 2 +- ingestion/examples/workflows/singlestore.yaml | 2 +- ingestion/examples/workflows/trino.yaml | 2 +- 10 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ingestion/examples/workflows/bigquery.yaml b/ingestion/examples/workflows/bigquery.yaml index 39af892c41e..a8595810b46 100644 --- a/ingestion/examples/workflows/bigquery.yaml +++ b/ingestion/examples/workflows/bigquery.yaml @@ -4,8 +4,6 @@ source: serviceConnection: config: type: BigQuery - enablePolicyTagImport: true - projectId: project_id credentials: gcsConfig: type: service_account diff --git a/ingestion/examples/workflows/databricks.yaml b/ingestion/examples/workflows/databricks.yaml index e3678660711..60bc1a84b6b 100644 --- a/ingestion/examples/workflows/databricks.yaml +++ b/ingestion/examples/workflows/databricks.yaml @@ -5,7 +5,6 @@ source: config: token: hostPort: localhost:443 - database: default connectionArguments: http_path: sourceConfig: diff --git a/ingestion/examples/workflows/db2.yaml b/ingestion/examples/workflows/db2.yaml index c1a64fa351f..a603b8281d3 100644 --- a/ingestion/examples/workflows/db2.yaml +++ b/ingestion/examples/workflows/db2.yaml @@ -7,7 +7,7 @@ source: username: openmetadata_user password: openmetadata_password hostPort: localhost:50000 - database: custom_database_name + databaseSchema: default sourceConfig: config: enableDataProfiler: false diff --git a/ingestion/examples/workflows/hive.yaml b/ingestion/examples/workflows/hive.yaml index e6854983fe9..decc3674111 100644 --- a/ingestion/examples/workflows/hive.yaml +++ b/ingestion/examples/workflows/hive.yaml @@ -4,6 +4,7 @@ source: serviceConnection: config: type: Hive + databaseSchema: default hostPort: localhost:10000 sourceConfig: config: diff --git a/ingestion/examples/workflows/mariadb.yaml b/ingestion/examples/workflows/mariadb.yaml index 09932525f6e..d1c4405c2db 100644 --- a/ingestion/examples/workflows/mariadb.yaml +++ b/ingestion/examples/workflows/mariadb.yaml @@ -6,6 +6,7 @@ source: type: MariaDB username: openmetadata_user password: openmetadata_password + databaseSchema: default hostPort: localhost:3306 sourceConfig: config: diff --git a/ingestion/examples/workflows/mysql.yaml b/ingestion/examples/workflows/mysql.yaml index 63477fe1de2..8e08e6a19fd 100644 --- a/ingestion/examples/workflows/mysql.yaml +++ b/ingestion/examples/workflows/mysql.yaml @@ -7,6 +7,7 @@ source: username: openmetadata_user password: openmetadata_password hostPort: localhost:3306 + databaseSchema: default connectionOptions: {} connectionArguments: {} sourceConfig: diff --git a/ingestion/examples/workflows/oracle.yaml b/ingestion/examples/workflows/oracle.yaml index a322c2ce5de..2b1cf766f68 100644 --- a/ingestion/examples/workflows/oracle.yaml +++ b/ingestion/examples/workflows/oracle.yaml @@ -6,6 +6,7 @@ source: hostPort: hostPort username: username password: password + databaseSchema: default type: Oracle oracleServiceName: TESTDB sourceConfig: diff --git a/ingestion/examples/workflows/presto.yaml b/ingestion/examples/workflows/presto.yaml index 625c03cacf5..6864dc41793 100644 --- a/ingestion/examples/workflows/presto.yaml +++ b/ingestion/examples/workflows/presto.yaml @@ -8,7 +8,7 @@ source: catalog: tpcds username: admin password: password - database: database + databaseSchema: tpcds sourceConfig: config: generateSampleData: false diff --git a/ingestion/examples/workflows/singlestore.yaml b/ingestion/examples/workflows/singlestore.yaml index 9368bebf7c5..738099dc598 100644 --- a/ingestion/examples/workflows/singlestore.yaml +++ b/ingestion/examples/workflows/singlestore.yaml @@ -7,7 +7,7 @@ source: username: openmetadata_user password: openmetadata_password hostPort: localhost:3306 - database: custom_database_name + databaseSchema: custom_database_name sourceConfig: config: enableDataProfiler: false diff --git a/ingestion/examples/workflows/trino.yaml b/ingestion/examples/workflows/trino.yaml index 469e600a7d3..c6706f80c29 100644 --- a/ingestion/examples/workflows/trino.yaml +++ b/ingestion/examples/workflows/trino.yaml @@ -7,7 +7,7 @@ source: hostPort: localhost:8080 username: user catalog: tpcds - database: tiny + databaseSchema: tiny connectionOptions: {} connectionArguments: {} sourceConfig: