From b2099774893288dcfbe5f647a8050ca7dc26a1d1 Mon Sep 17 00:00:00 2001 From: MelinaGoula Date: Tue, 26 Mar 2024 20:49:34 +0000 Subject: [PATCH] add missing identifier function #900 --- gis/gccview/gcc_puller_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gis/gccview/gcc_puller_functions.py b/gis/gccview/gcc_puller_functions.py index d8613d4b3..1f78d006e 100644 --- a/gis/gccview/gcc_puller_functions.py +++ b/gis/gccview/gcc_puller_functions.py @@ -189,7 +189,7 @@ def create_audited_table(output_table, return_json, schema_name, primary_key, co create_sql = sql.SQL("CREATE TABLE IF NOT EXISTS {schema_table} ({columns}, CONSTRAINT {pk_name} PRIMARY KEY ({pk}))").format( schema_table = sql.Identifier(schema_name, temp_table_name), columns = col_list_string, - pk_name = pk_name, + pk_name = sql.Identifier(pk_name), pk = sql.Identifier(primary_key) ) LOGGER.info(create_sql.as_string(con))