From 34bf175ca1ae28cad69170f4331008259ce18b6f Mon Sep 17 00:00:00 2001 From: NiharDoshi99 <51595473+NiharDoshi99@users.noreply.github.com> Date: Fri, 10 Mar 2023 15:18:58 +0530 Subject: [PATCH] adding quotes around alias (#10506) --- .../src/metadata/ingestion/source/database/postgres/queries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion/src/metadata/ingestion/source/database/postgres/queries.py b/ingestion/src/metadata/ingestion/source/database/postgres/queries.py index f4dea25f384..a4505a07ffa 100644 --- a/ingestion/src/metadata/ingestion/source/database/postgres/queries.py +++ b/ingestion/src/metadata/ingestion/source/database/postgres/queries.py @@ -99,7 +99,7 @@ POSTGRES_TABLE_COMMENTS = """ POSTGRES_VIEW_DEFINITIONS = """ SELECT - n.nspname schema, + n.nspname "schema", c.relname view_name, pg_get_viewdef(c.oid) view_def FROM pg_class c