From e9a7422e50c326ba5dc656d1023e8e7bf6e8f1fe Mon Sep 17 00:00:00 2001 From: ArthurKordes <75675106+ArthurKordes@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:22:33 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ffa6426..3fabcdf 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,16 @@ or MS Teams webhooks for notifications, location for storing GX, etc). # Create data quality schema and tables (in respective catalog of data team) +Before running your first dq check, create the data quality schema and tables from the notebook from repo path: scripts/data_quality_tables.sql +- Open the notebook, connect to a cluster. +- Select the catalog of the data team and execute the notebook. It will create xthe schema and tables if they are not yet there. -for the first time installation create data quality schema and tables from the notebook from repo path scripts/data_quality_tables.sql -- open the notebook, connect to a cluster -- select the catalog of the data team and execute the notebook. It will check if schema is available if not it will create schema and same for tables. # Export the schema from Unity Catalog to the Input Form In order to output the schema from Unity Catalog, use the following commands (using the required schema name): ``` -schema_output = dq_suite.export_schema('schema_name', spark) +schema_output = dq_suite.schema_to_json_string('schema_name', spark) print(schema_output) ```